Home › Class layouts › City › City::Religion

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

GameCore::City::Religion — class, size 232 bytes (0xe8).

Linux offset Member Type Lua methods (inferred)
0x0 m_pCity ParentPtr<GameCore::City::Instance>
0x8 m_eMajorityReligion ReligionTypes
0x10 m_ReligionStatus ReligionInCityList writes: CityReligion:RemoveOtherReligions; reads: CityReligion:RemoveOtherReligions
0xc8 m_ePreviousRealReligion ReligionTypes
0xcc m_eNextReligion ReligionTypes
0xd0 m_iTurnsToNextReligion int
0xd4 m_iPressureModifier int
0xd8 m_iReligiousCombatBonus int
0xdc m_iExtraReligiousHeal int
0xe0 m_bReligionIgnorePressure bool
0xe1 m_bReligionIgnoreCombat bool
0xe4 m_iNumExtraPromotions int