Home › Class layouts › AI › AI::GameModifierAnalysis

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

GameCore::AI::GameModifierAnalysis — structure, size 224 bytes (0xe0).

Linux offset Member Type
0x0 Belief BeliefTypes
0x4 Building BuildingTypes
0x8 Count int
0x10 CityId Player::ComponentID
0x18 Civic CivicTypes
0x1c District DistrictTypes
0x20 Feature FeatureTypes
0x24 Governor GovernorTypes
0x28 Government GovernmentTypes
0x2c GovernmentSlot GovernmentSlotTypes
0x30 GreatWorkObject GreatWorkObjectTypes
0x34 Handicap HandicapTypes
0x38 Improvement ImprovementTypes
0x3c MinorCivType MinorCivBonusTypes
0x40 Opponent PlayerTypes
0x44 Policy PolicyTypes
0x48 Religion ReligionTypes
0x4c Resource ResourceTypes
0x50 Technology TechTypes
0x54 UnitOperation UnitOperationTypes
0x58 UnitPromotionClass UnitPromotionClassTypes
0x5c Unit1 UnitTypes
0x60 Unit2 UnitTypes
0x64 Yield YieldTypes
0x68 Project ProjectTypes
0x6c GreatPersonClass GreatPersonClassTypes
0x70 City const GameCore::City::Instance*
0x78 DistrictInstance const GameCore::District::Instance*
0x80 Player const GameCore::Player::Instance*
0x88 Plot const GameCore::Map::Plot::Instance*
0x90 Unit const GameCore::Unit::Instance*
0x98 UnitList Types::Vector<unsigned int, Types::LinearAlloc::Default<1, 0> >
0xb0 BestImprovement bool
0xb4 StartTurn int
0xb8 TimeHorizon int
0xbc DiscountRate float
0xc0 ExpectedBonusValue int
0xc4 ExpectedTurnsToMeet int
0xc8 AnalysisDepth int
0xcc CollectionIndex AI::CollectionIndexData