Home › Class layouts › City › City::Power

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

City::Power

GameCore::City::Power — class, size 176 bytes (0xb0).

Linux offset Member Type
0x0 m_pCity ParentPtr<GameCore::City::Instance>
0x8 m_xFreePower FixedPoint
0x10 m_vFreePowerSources FreePowerSourceList
0x30 m_xTemporaryPower FixedPoint
0x38 m_vTemporaryPowerSources TemporaryPowerSourceList
0x58 m_xRequiredPowerTotal FixedPoint
0x5c m_xRequiredPowerFromModifiers FixedPoint
0x60 m_vRequiredPowerSources RequiredPowerSourceList
0x80 m_vGeneratedPowerSources GeneratedPowerSourceList
0xa0 m_bEverGeneratedPower bool
0xa4 m_iTurnLastNotifiedNeedPower int
0xa8 m_iModifiedFreePower int