Home › Class layouts › Definition › Definition::BonusMinorStartingUnit

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

GameCore::Definition::BonusMinorStartingUnit — class, size 112 bytes (0x70).

Bases: Definition::IProperties at 0x0

Linux offset Member Type
0x10 m_DatabaseRowId int32
0x14 m_CollectionIndex uint32
0x18 m_DistrictHash uint32
0x1c m_Quantity int32
0x20 m_DifficultyDelta float
0x28 m_District Basic
0x30 m_Era Basic
0x38 m_Unit Basic
0x40 m_MinDifficulty Optional<String::BasicT<String::BasicStringAlloc, ASCII> >
0x50 m_OnDistrictCreated (bit-field, 1 bits) bool
0x58 m_DifficultyReference const GameCore::Definition::Difficulty*
0x60 m_EraReference const GameCore::Definition::Era*
0x68 m_UnitReference const GameCore::Definition::Unit*