- Код: Выделить всё
#pragma pack(push, 1)
struct RMG_LocalMap : RMG_Map // this line gives all members from RMG_Map to RMG_LocalMap, as well as member functions
{
h3unk _f_18[32]; // verify this I just went with RMGMap2[2].VMT as being Vector::end, or populate it with relevant data
// +24
H3Vector<RMG_Object*> localObjects;
};
#pragma pack(pop)
When in IDA, I don't think you can derive classes (or at least I haven't figured out how) so I tend to just make a `base` member of the base class at offset 0.