Home › Class layouts › Cache › Cache::City::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).

Cache::City::Instance

GameCore::Cache::City::Instance — class, size 2408 bytes (0x968).

Linux offset Member Type Lua methods (inferred)
0x0 m_kValues Cache::City::Instance::Values reads: City:CanRaze, City:GetAllAssignedGovernors, City:GetAmenityAdvice, City:GetAssignedGovernor (+49 more)
0x98 m_kBuildings Cache::City::Buildings reads: CityPower:GetPlotsCoveredByRegionalPower
0xd8 m_kBuildQueue Cache::City::BuildQueue
0x448 m_kCitizens Cache::City::Citizens
0x4b0 m_kDistricts Cache::City::Districts reads: CityPower:GetPlotsCoveredByRegionalPower
0x4d8 m_kGrowth Cache::City::Growth
0x580 m_kCulture Cache::City::Culture
0x5a0 m_kGold Cache::City::Gold
0x5b0 m_kReligion Cache::City::Religion
0x610 m_kTrade Cache::City::Trade
0x6d8 m_kCulturalIdentity Cache::City::CulturalIdentity
0x7c0 m_kPower Cache::City::Power
0x858 m_kCityAi Cache::AI::CityBuild
0x910 m_kProperties Data::TypedVariantMap