Home › Class layouts › AI › AI::CivicAnalysis

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

AI::CivicAnalysis

GameCore::AI::CivicAnalysis — class, size 80 bytes (0x50).

Linux offset Member Type
0x0 m_player const GameCore::Player::Instance*
0x8 m_civic CivicTypes
0xc m_isOwned bool
0xd m_isFavored bool
0xe m_hasBoost bool
0xf m_isRepeatable bool
0x10 m_soloValue FixedPoint
0x14 m_fullValue FixedPoint
0x18 m_turnsToUnlock int
0x1c m_nextCivicNeeded CivicTypes
0x20 m_unlockedGovts Types::Vector<GameCore::GovernmentTypes, Types::LinearAlloc::Default<1, 0> >
0x38 m_unlockedPolicies Types::Vector<GameCore::PolicyTypes, Types::LinearAlloc::Default<1, 0> >