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

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

GameCore::Map::Plot::Reflection::Variants1 — structure, size 18 bytes (0x12).

Linux offset Member Type Windows
0x0 m_eFeatureType PackedFeatureType
0x2 m_uiFeatureLayoutIndex uint16
0x4 m_eResourceType PackedResourceType
0x6 m_iResourceNum uint16
0x8 m_eImprovementType PackedImprovementType
0xa m_eImprovementOwner PackedPlayerType
0xb m_eRouteType PackedRouteType
0xc m_eRouteEra PackedEraType
0xe m_iPlotAppeal int16 0xe (same on Windows; verified)
0x10 m_cUnitCount char
0x11 m_bFeatureAdded (bit-field, 1 bits) bool
0x11 m_bImprovementPillaged (bit-field, 1 bits) bool
0x11 m_bIsFeatureVolatile (bit-field, 1 bits) bool
0x11 m_bRouteIsBridgey (bit-field, 1 bits) bool
0x11 m_bRoutePillaged (bit-field, 1 bits) bool
0x11 m_bStartingPlot (bit-field, 1 bits) bool
0x11 m_bValidFoundLocation (bit-field, 1 bits) bool

The Windows column is filled in only for members that were checked against Windows code. For the rest, use the Linux offset with the rule above.