Home › Class layouts › City › City::DynamicAdjacencyBonus
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).
City::DynamicAdjacencyBonus
GameCore::City::DynamicAdjacencyBonus — structure, size 48 bytes (0x30).
| Linux offset |
Member |
Type |
0x0 |
m_eDistrict |
DistrictTypes |
0x4 |
m_eTerrainType |
TerrainTypes |
0x8 |
m_eFeatureType |
FeatureTypes |
0xc |
m_eImprovementType |
ImprovementTypes |
0x10 |
m_bRiver |
bool |
0x11 |
m_bAdjacentDistrict |
bool |
0x14 |
m_iAppeal |
int |
0x18 |
m_eYield |
YieldTypes |
0x1c |
m_iTilesRequired |
int |
0x20 |
m_iAmount |
int |
0x28 |
m_szDescription |
LocalizationString |