Joined: 03 Oct 2014
|Posted: Sat Jan 06, 2018 3:12 pm Post subject: Mono Dissect: How to access baseclass/object fields/pointers
|The Class 'CombatFighter' has some initiative fields I care about. (trying to figure out combat order mechanics) .
The base class of 'CombatFighter' is 'BaseFighter'.
'BaseFighter' has fields/pointers towards 'FighterStats' [bunch of calculated stats Attack Power, Evade, Crit Chance, HitPoints, Etc ..] has fields/pointers towards 'FighterRecord' [base stats/ CHARACTER NAME Stamina/base health/ etc].
Using dissect structure / find instances of object I've been able to build pointer chains from a 'FighterStats' base address all the way to a character's name.
My current problem is how do I reach the character's name from a 'CombatFighter' object?
Dissecting 'CombatFighter' structure doesn't also add its baseobject's fields ('BaseFighter').