Home › Class layouts › FreeCities › FreeCities::Instance

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).

FreeCities::Instance

GameCore::FreeCities::Instance — class, size 104 bytes (0x68).

Linux offset Member Type
0x0 m_player ParentPtr<GameCore::Player::Instance>
0x8 m_cityIndex int
0xc m_cityLocation PlotCoord
0x14 m_living bool
0x18 m_turnsSinceLastUnit int
0x1c m_iUrbanDefenses int
0x20 m_retaliationTarget PlayerTypes
0x24 m_retaliationBehaviorTree IDType
0x28 m_buildableUnits UnitIndexList<bool>
0x48 m_buildableWalls BuildingIndexList<bool>