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

Player::Religion

GameCore::Player::Religion — class, size 1056 bytes (0x420).

Linux offset Member Type Lua methods (inferred)
0x0 m_syncArchive FAutoArchiveClassContainer<GameCore::Player::Religion>
0x98 m_pPlayer ParentPtr<GameCore::Player::Instance>
0xa0 m_pGameReligion Game::Religion*
0xa8 m_xFaithBalance FAutoVariable<FixedPointT<8>, GameCore::Player::Religion> writes: PlayerReligion:ChangeFaithBalance, PlayerReligion:SetFaithBalance; reads: PlayerReligion:ChangeFaithBalance, PlayerReligion:SetFaithBalance
0xc0 m_xFaithRateChange FAutoVariable<FixedPointT<8>, GameCore::Player::Religion>
0xd8 m_ePantheonType FAutoVariable<GameCore::BeliefTypes, GameCore::Player::Religion>
0xf0 m_iNumBeliefsEarned FAutoVariable<int, GameCore::Player::Religion> writes: PlayerReligion:ChangeNumBeliefsEarned; reads: PlayerReligion:ChangeNumBeliefsEarned
0x108 m_eGreatPersonFounder FAutoVariable<GameCore::GreatPersonIndividualTypes, GameCore::Player::Religion>
0x120 m_kHolyCityCoord FAutoVariable<GameCore::PlotCoord, GameCore::Player::Religion> writes: PlayerReligion:SetHolyCity
0x138 m_BeliefYields FAutoVariable<eastl::vector<GameCore::Player::BeliefYield, eastl::allocator>, GameCore::Player::Religion> reads: PlayerCulture:GetTurnsLeftOnCurrentCivic, PlayerTechs:GetTurnsLeft
0x168 m_BuildingYieldModifiers FAutoVariable<eastl::vector<GameCore::Player::ReligionBuildingYieldModifier, eastl::allocator>, GameCore::Player::Religion>
0x198 m_iReligionBuildingDiscount FAutoVariable<int, GameCore::Player::Religion>
0x1b0 m_iSpreadDistance FAutoVariable<int, GameCore::Player::Religion>
0x1c8 m_iCombatLoss FAutoVariable<int, GameCore::Player::Religion>
0x1e0 m_bInquisition FAutoVariable<int, GameCore::Player::Religion>
0x1f8 m_bGainsAllFollowerBeliefs FAutoVariable<bool, GameCore::Player::Religion>
0x210 m_bFounderBeliefOfMajorityReligion FAutoVariable<bool, GameCore::Player::Religion>
0x228 m_iFaithPerPeacefulReligionFounder FAutoVariable<int, GameCore::Player::Religion>
0x240 m_iSpreadMultiplier FAutoVariable<int, GameCore::Player::Religion>
0x258 m_eSpreadEnhancingTech FAutoVariable<GameCore::TechTypes, GameCore::Player::Religion>
0x270 m_iTechEnabledSpreadMultiplier FAutoVariable<int, GameCore::Player::Religion>
0x288 m_iNaturalWonderRelic FAutoVariable<int, GameCore::Player::Religion>
0x2a0 m_iFaithFromDispersal FAutoVariable<int, GameCore::Player::Religion>
0x2b8 m_iReligiousPressurePerGreatPersonActivated FAutoVariable<int, GameCore::Player::Religion>
0x2d0 m_aiEnableWallAttackWholeGameSameReligion FAutoVariable<int, GameCore::Player::Religion>
0x2e8 m_aiEnableWallAttackWholeGameSameReligionPromotionClass FAutoVariable<Types::Vector<int, Types::LinearAlloc::Default<1, 0> >, GameCore::Player::Religion>
0x310 m_iStartInquisitionCharges FAutoVariable<int, GameCore::Player::Religion>
0x328 m_iSpreadTradeRoutePressureDestinationModifier FAutoVariable<int, GameCore::Player::Religion>
0x340 m_iSpreadTradeRoutePressureOriginModifier FAutoVariable<int, GameCore::Player::Religion>
0x358 m_iAddFaithHarvestModifier FAutoVariable<int, GameCore::Player::Religion>
0x370 m_iAddFaithChopModifier FAutoVariable<int, GameCore::Player::Religion>
0x388 m_iAddFaithBarbarianPlunderModifier FAutoVariable<int, GameCore::Player::Religion>
0x3a0 m_bAdoptsAllyFoundedReligions FAutoVariable<int, GameCore::Player::Religion>
0x3b8 m_bTreatAllyCapitalAsHolyCity FAutoVariable<int, GameCore::Player::Religion>
0x3d0 m_bTreatHolySitesAsHolyCity FAutoVariable<int, GameCore::Player::Religion>
0x3e8 m_aUnitsReligionStrengthByReligion FAutoVariable<Types::Vector<int, Types::LinearAlloc::Default<1, 0> >, GameCore::Player::Religion>
0x410 m_kGreatPersonActivatedHandle Message::Handle