Home › Class layouts › Definition › Definition::Governor
Needs the Community Extension. Not available in the unmodified game; works while the Community Extension mod is active (its own functions, or raw memory access with Mem/ObjMem).
Definition::Governor
GameCore::Definition::Governor — class, size 160 bytes (0xa0).
Bases: Definition::IProperties at 0x0
| Linux offset |
Member |
Type |
0x10 |
m_DatabaseRowId |
int32 |
0x14 |
m_CollectionIndex |
uint32 |
0x18 |
m_GovernorTypeHash |
uint32 |
0x1c |
m_TraitTypeHash |
uint32 |
0x20 |
m_IdentityPressure |
int32 |
0x24 |
m_TransitionStrength |
int32 |
0x28 |
m_GovernorType |
Basic |
0x30 |
m_Image |
Basic |
0x38 |
m_TraitType |
Optional<String::BasicT<String::BasicStringAlloc, ASCII> > |
0x48 |
m_AssignCityState (bit-field, 1 bits) |
bool |
0x50 |
m_Description |
Basic |
0x58 |
m_Name |
Basic |
0x60 |
m_ShortTitle |
Basic |
0x68 |
m_Title |
Basic |
0x70 |
m_PromotionCollection |
GovernorPromotionReferenceCollection |
0x88 |
m_SecretSocietyCollection |
SecretSocietyReferenceCollection |
Virtual functions
Slot order of the class's own vtable (inferred, see Virtual function tables). A virtual call call [vptr+offset] uses the byte offset. Owner is shown when the entry is inherited or overridden elsewhere.
| Slot |
Offset |
Method |
Address in current build |
| 0 |
0x0 |
\~Governor |
0x7b0d00 |