Home › Class layouts › Map › Map::Plot::Reflection::TerrainVis1

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::Reflection::TerrainVis1

GameCore::Map::Plot::Reflection::TerrainVis1 — structure, size 36 bytes (0x24).

Linux offset Member Type
0x0 m_iX short
0x2 m_iY short
0x4 m_eTerrainType int16
0x6 m_eFeatureType int16
0x8 m_uiFeatureLayoutIndex uint16
0xc m_eContinentType ContinentTypes
0x10 m_eResourceType int16
0x12 m_iResourceNum uint16
0x14 m_iMovementCost char
0x15 m_iDefenseModifier char
0x16 m_eImprovementType int16
0x18 m_eDistrictType PackedDistrictType
0x1a m_eWonderType PackedBuildingType
0x1c m_eRouteType char
0x1d m_eRiverEFlowDirection char
0x1e m_eRiverSEFlowDirection char
0x1f m_eRiverSWFlowDirection char
0x20 m_iRiverCrossingCount char
0x21 m_cRiverCrossing char
0x22 m_bHills (bit-field, 1 bits) bool
0x22 m_bImprovementPillaged (bit-field, 1 bits) bool
0x22 m_bNEOfCliff (bit-field, 1 bits) bool
0x22 m_bNEOfRiver (bit-field, 1 bits) bool
0x22 m_bNWOfRiver (bit-field, 1 bits) bool
0x22 m_bRoutePillaged (bit-field, 1 bits) bool
0x22 m_bWOfCliff (bit-field, 1 bits) bool
0x22 m_bWOfRiver (bit-field, 1 bits) bool
0x23 m_bFeatureAdded (bit-field, 1 bits) bool
0x23 m_bIsAdjacentToLand (bit-field, 1 bits) bool
0x23 m_bIsFeatureVolatile (bit-field, 1 bits) bool
0x23 m_bIsImpassable (bit-field, 1 bits) bool
0x23 m_bNWOfCliff (bit-field, 1 bits) bool
0x23 m_bRoughFeature (bit-field, 1 bits) bool