Home › Class layouts › Definition › Definition::UnitReplace

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

GameCore::Definition::UnitReplace — class, size 64 bytes (0x40).

Bases: Definition::IProperties at 0x0

Linux offset Member Type
0x10 m_DatabaseRowId int32
0x14 m_CollectionIndex uint32
0x18 m_CivUniqueUnitTypeHash uint32
0x20 m_CivUniqueUnitType Basic
0x28 m_ReplacesUnitType Basic
0x30 m_BaseUnitReference const GameCore::Definition::Unit*
0x38 m_ReplacementUnitReference const GameCore::Definition::Unit*