Home › Class layouts › Map › Map::Plot::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::Plot::Instance

GameCore::Map::Plot::Instance — class, size 80 bytes (0x50).

Bases: Map::Plot::IInstance at 0x0

Linux offset Member Type Lua methods (inferred)
0x8 m_pkArea Map::Area::Instance*
0x10 m_pkLandmass Map::Landmass::Instance*
0x18 m_pkRegion Map::Region::Instance*
0x20 m_pkProperties PropertyMapType*
0x28 m_kConstants Map::Plot::Reflection::Constants1 reads: MapFeature:GetPlots, Plot:GetAdjacencyYield, Plot:GetAirUnits, Plot:GetComponentID (+32 more)
0x3c m_kVariants Map::Plot::Reflection::Variants1 reads: Plot:GetFeatureType, Plot:GetImprovementType, Plot:GetResourceCount, Plot:GetResourceType (+3 more)
0x4e m_iCityAttributeIndex uint16 reads: Plot:IsChokepoint, Plot:IsValidFoundLocation