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

District::Instance

GameCore::District::Instance — class, size 1136 bytes (0x470).

Linux offset Member Type Lua methods (inferred)
0x0 m_syncArchive FAutoArchiveClassContainer<GameCore::District::Instance>
0x98 m_id FAutoVariable<unsigned int, GameCore::District::Instance> reads: District:ChangeDamage, District:SetDamage, District:SetProperty
0xb0 m_MarkedForDelete bool
0xb8 m_kLocation FAutoVariable<GameCore::PlotCoord, GameCore::District::Instance> reads: District:ChangeDamage
0xd0 m_iCityID FAutoVariable<unsigned int, GameCore::District::Instance> reads: District:ChangeDamage, District:SetDamage
0xe8 m_eDistrictType FAutoVariable<GameCore::DistrictTypes, GameCore::District::Instance> reads: District:ChangeDamage, District:SetDamage
0x100 m_aYieldChanges FAutoVariable<GameCore::IndexList<int, GameCore::Definition::DefinitionCollectionWithTypeIndex<GameCore::Definition::Yield>, &GameCore::Definitions::GetYieldDefinitions, void>, GameCore::District::Instance>
0x130 m_aBaseYieldChanges FAutoVariable<GameCore::IndexList<int, GameCore::Definition::DefinitionCollectionWithTypeIndex<GameCore::Definition::Yield>, &GameCore::Definitions::GetYieldDefinitions, void>, GameCore::District::Instance>
0x160 m_aYieldAdjacencyModifiers FAutoVariable<GameCore::IndexList<int, GameCore::Definition::DefinitionCollectionWithTypeIndex<GameCore::Definition::Yield>, &GameCore::Definitions::GetYieldDefinitions, void>, GameCore::District::Instance>
0x190 m_aYieldAdjacencyMirrors FAutoVariable<eastl::vector<GameCore::District::AdjacencyBonusMirror, eastl::allocator>, GameCore::District::Instance>
0x1c0 m_aAppealYieldChanges FAutoVariable<eastl::vector<GameCore::District::AppealYieldChange, eastl::allocator>, GameCore::District::Instance> reads: District:GetYield
0x1f0 m_aGreatPersonPointChanges FAutoVariable<eastl::vector<FixedPointT<8>, eastl::allocator>, GameCore::District::Instance>
0x220 m_iGreatPersonPointMultiplier FAutoVariable<int, GameCore::District::Instance>
0x238 m_iGreatPersonPointAdder FAutoVariable<int, GameCore::District::Instance>
0x250 m_iTourismChange FAutoVariable<int, GameCore::District::Instance>
0x268 m_iExtraRegionalRange FAutoVariable<int, GameCore::District::Instance>
0x280 m_iExtraRegionalEntertainment FAutoVariable<int, GameCore::District::Instance>
0x298 m_iExtraEntertainment FAutoVariable<int, GameCore::District::Instance>
0x2b0 m_aExtraRegionalYields FAutoVariable<GameCore::IndexList<int, GameCore::Definition::DefinitionCollectionWithTypeIndex<GameCore::Definition::Yield>, &GameCore::Definitions::GetYieldDefinitions, void>, GameCore::District::Instance>
0x2e0 m_aTourismAdjacencyYieldModifier FAutoVariable<GameCore::IndexList<int, GameCore::Definition::DefinitionCollectionWithTypeIndex<GameCore::Definition::Yield>, &GameCore::Definitions::GetYieldDefinitions, void>, GameCore::District::Instance>
0x310 m_iGarrisonDamage FAutoVariable<int, GameCore::District::Instance> writes: District:ChangeDamage, District:SetDamage; reads: District:ChangeDamage, District:SetDamage
0x328 m_iOuterDefensesDamage FAutoVariable<int, GameCore::District::Instance> writes: District:ChangeDamage, District:SetDamage; reads: District:ChangeDamage, District:SetDamage
0x340 m_iLastTurnDamaged FAutoVariable<int, GameCore::District::Instance> writes: District:ChangeDamage
0x358 m_iRemainingAttacks FAutoVariable<int, GameCore::District::Instance>
0x370 m_kProperties FAutoVariable<Data::TypedVariantMap, GameCore::District::Instance>
0x3d8 m_iCost FAutoVariable<int, GameCore::District::Instance>
0x3f0 m_bIsComplete FAutoVariable<bool, GameCore::District::Instance>
0x408 m_iAirSlotsModifier FAutoVariable<int, GameCore::District::Instance>
0x420 m_iWithinOneHexEspionageDefenseBonus FAutoVariable<int, GameCore::District::Instance>
0x438 m_bUnderSiege FAutoVariable<bool, GameCore::District::Instance>
0x450 m_bPillaged FAutoVariable<bool, GameCore::District::Instance>
0x468 m_kCombat District::Combat