Home › Class layouts › Definition › Definition::Leader

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::Leader

GameCore::Definition::Leader — class, size 208 bytes (0xd0).

Bases: Definition::IProperties at 0x0

Linux offset Member Type
0x10 m_DatabaseRowId int32
0x14 m_CollectionIndex uint32
0x18 m_LeaderTypeHash uint32
0x1c m_SameSexPercentage int32
0x20 m_SceneLayers int32
0x28 m_LeaderType Basic
0x30 m_Name Basic
0x38 m_Sex Basic
0x40 m_InheritFrom Optional<String::BasicT<String::BasicStringAlloc, ASCII> >
0x50 m_OperationList Optional<String::BasicT<String::BasicStringAlloc, ASCII> >
0x60 m_IsBarbarianLeader (bit-field, 1 bits) bool
0x68 m_CivilizationCollection CivilizationReferenceCollection
0x80 m_InheritLeaderReference const GameCore::Definition::Leader*
0x88 m_PreferredAgendaCollection AgendaPreferredLeaderReferenceCollection
0xa0 m_ReligionCollection ReligionReferenceCollection
0xb8 m_TraitCollection TraitReferenceCollection