Home › Class layouts › AI › AI::CityPlotInfo

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

GameCore::AI::CityPlotInfo — structure, size 96 bytes (0x60).

Linux offset Member Type
0x0 Resource ResourceTypes
0x4 Feature FeatureTypes
0x8 Location PlotCoord
0x10 Neighbors short[]
0x20 DistrictPresentValue FixedPoint*
0x28 BuildingAdjacencyBonuses FixedPoint*
0x30 ImprovementPresentValue FixedPoint*
0x38 ProjectPresentValue FixedPoint*
0x40 UnitPresentValue FixedPoint*
0x48 Reservation AI::CityPlotReservationInfo*
0x50 HasImprovement bool
0x51 HasDistrict bool
0x52 HasPillagedImprovement bool
0x53 FeatureRemovable bool
0x54 CanBuildImprovement bool
0x55 CanBuildDistrict bool
0x56 CanPlaceBuilding bool
0x57 CanPurchase bool
0x58 NeighborCanHaveDistrict bool
0x59 Revealed bool
0x5a Owned bool
0x5b Worked bool