Home › Class layouts › Definition › Definition::GreatPersonClass

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

GameCore::Definition::GreatPersonClass — class, size 160 bytes (0xa0).

Bases: Definition::IProperties at 0x0

Linux offset Member Type
0x10 m_DatabaseRowId int32
0x14 m_CollectionIndex uint32
0x18 m_GreatPersonClassTypeHash uint32
0x1c m_UnitTypeHash uint32
0x20 m_MaxPlayerInstances Optional<int>
0x28 m_ActionIcon Basic
0x30 m_DistrictType Basic
0x38 m_GreatPersonClassType Basic
0x40 m_IconString Basic
0x48 m_Name Basic
0x50 m_UnitType Basic
0x58 m_PseudoYieldType Optional<String::BasicT<String::BasicStringAlloc, ASCII> >
0x68 m_AvailableInTimeline (bit-field, 1 bits) bool
0x68 m_GenerateDuplicateIndividuals (bit-field, 1 bits) bool
0x70 m_DistrictReference const GameCore::Definition::District*
0x78 m_ExclusionReference ExcludedGreatPersonClassReferenceCollection
0x90 m_PseudoYieldReference const GameCore::Definition::PseudoYield*
0x98 m_UnitReference const GameCore::Definition::Unit*