Home › Class layouts › Map › Map::Territory::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::Territory::Instance
GameCore::Map::Territory::Instance — class, size 232 bytes (0xe8).
| Linux offset |
Member |
Type |
Lua methods (inferred) |
0x0 |
m_iID |
int |
|
0x4 |
m_ePrimaryTerrainClass |
TerrainClassTypes |
|
0x8 |
m_iPlotCount |
int |
|
0xc |
m_iCoastalPlotCount |
int |
|
0x10 |
m_iCoastalHillMtnCount |
int |
|
0x14 |
m_iRiverEdgeCount |
int |
|
0x18 |
m_iNaturalWonderCount |
int |
reads: Territory:GetTotalNaturalWonders |
0x1c |
m_iFeatureCount |
int |
|
0x20 |
m_bIsLake |
bool |
|
0x21 |
m_bIsSea |
bool |
|
0x28 |
m_aFeatureCounts |
FeatureCountArray |
reads: Territory:GetFeatureCount |
0x48 |
m_Boundaries |
Map::Territory::Boundaries |
reads: Territory:GetBoundaries |
0x58 |
m_kCentroidDelta |
PlotCoord |
|
0x60 |
m_kCentroid |
PlotCoord |
|
0x68 |
m_szName |
Localization::String |
|