Home › Class layouts › Map › Map::Area::Instance

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

Map::Area::Instance

GameCore::Map::Area::Instance — class, size 3464 bytes (0xd88).

Linux offset Member Type Lua methods (inferred)
0x0 m_iID int
0x4 m_iPlotCount int
0x8 m_iCoastalPlotCount int
0xc m_iCoastalHillMtnCount int
0x10 m_iOwnedPlotCount int
0x14 m_iRiverEdgeCount int
0x18 m_iUnitCount int
0x1c m_iCityCount int
0x20 m_iTotalPopulation int
0x24 m_iStartingPlotCount int
0x28 m_iNaturalWonderCount int
0x2c m_aiUnitsPerPlayer int[] reads: Plot:GetAdjacencyYield, Plot:GetDistrictID, Plot:GetDistrictType, Plot:GetOwner (+10 more)
0x12c m_aiCitiesPerPlayer int[]
0x22c m_aiPopulationPerPlayer int[]
0x32c m_aiFreeSpecialist int[]
0x42c m_aiRevealedPlotCount int[]
0x530 m_aaiYieldRateModifier YieldIndexList<int>[]
0xd30 m_aiResourceCount IntVector reads: Area:GetResourceCount, Area:GetTotalResources
0xd50 m_aiImprovementCount IntVector reads: Area:GetImprovementCount, Area:GetTotalImprovements
0xd70 m_Boundaries Map::Area::Boundaries reads: Area:GetBoundaries
0xd80 m_bWater bool
0xd81 m_bMountains bool
0xd82 m_bCanyons bool reads: Area:IsCanyons