Home › Class layouts › Definition › Definition::Building_XP2

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

GameCore::Definition::Building_XP2 — class, size 96 bytes (0x60).

Bases: Definition::IProperties at 0x0

Linux offset Member Type
0x10 m_DatabaseRowId int32
0x14 m_CollectionIndex uint32
0x18 m_BuildingTypeHash uint32
0x1c m_CostMultiplierPerSeaLevel int32
0x20 m_CostMultiplierPerTile int32
0x24 m_EntertainmentBonusWithPower int32
0x28 m_RequiredPower int32
0x30 m_BuildingType Basic
0x38 m_ResourceTypeConvertedToPower Optional<String::BasicT<String::BasicStringAlloc, ASCII> >
0x48 m_BlocksCoastalFlooding (bit-field, 1 bits) bool
0x48 m_Bridge (bit-field, 1 bits) bool
0x48 m_CanalWonder (bit-field, 1 bits) bool
0x48 m_NuclearReactor (bit-field, 1 bits) bool
0x48 m_Pillage (bit-field, 1 bits) bool
0x48 m_PreventsDrought (bit-field, 1 bits) bool
0x48 m_PreventsFloods (bit-field, 1 bits) bool
0x50 m_BuildingReference const GameCore::Definition::Building*
0x58 m_ResourceTypeConvertedToPowerReference const GameCore::Definition::Resource*