Home › Class layouts › AI › AI::PlotEvaluation

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

GameCore::AI::PlotEvaluation — structure, size 216 bytes (0xd8).

Linux offset Member Type
0x0 Location PlotCoord
0x8 Continent ContinentTypes
0x10 InnerRingYield YieldIndexList<int>
0x30 FullCityYield YieldIndexList<int>
0x50 NumTerrains TerrainIndexList<int>
0x70 MyNearestCity int
0x74 NearestEnemyCity int
0x78 Danger int
0x7c CulturalPressure int
0x80 IsCoastal bool
0x81 HasFreshWater bool
0x82 IsValid bool
0x84 NewResourcesInInnerRing int
0x88 NumResourcesInnerRing Types::Vector<int, Types::LinearAlloc::Default<1, 0> >
0xa0 NumResources Types::Vector<int, Types::LinearAlloc::Default<1, 0> >
0xb8 NumFeatures Types::Vector<int, Types::LinearAlloc::Default<1, 0> >
0xd0 PlotScore FixedPoint