Home › Class layouts › Game › Game::ReligionData

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).

Game::ReligionData

GameCore::Game::ReligionData — class, size 144 bytes (0x90).

Linux offset Member Type
0x0 m_eReligion ReligionTypes
0x4 m_eFounder PlayerTypes
0x8 m_iTurnFounded int
0xc m_kHolyCityCoord PlotCoord
0x18 m_szCustomName Basic
0x20 m_Beliefs BeliefList
0x40 m_BuildingsEnabled ReligiousBuildingList
0x60 m_UnitsEnabled ReligiousUnitList
0x80 m_iAnyoneCondemnsFavor int
0x84 m_bCondemnProhibited bool
0x85 m_bAutoSpreadsToNewCities bool
0x86 m_bAwardsEnvoy bool
0x88 m_iAwardsEnvoyReligiousPressure int