Home › Class layouts › Unit › Unit::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).
Unit::Religion
GameCore::Unit::Religion — class, size 96 bytes (0x60).
| Linux offset |
Member |
Type |
Lua methods (inferred) |
0x0 |
m_pUnit |
ParentPtr<GameCore::Unit::Instance> |
|
0x8 |
m_iReligiousStrength |
int |
|
0xc |
m_eReligionType |
ReligionTypes |
|
0x10 |
m_iSpreadCharges |
int |
|
0x14 |
m_iReligiousHealCharges |
int |
|
0x18 |
m_iNWDeferredCharges |
int |
|
0x1c |
m_eInitiationYield |
YieldTypes |
|
0x20 |
m_iInitiationAmount |
int |
|
0x24 |
m_iEvictPercent |
int |
writes: UnitReligion:ChangeEvictPercent, UnitReligion:SetEvictPercent; reads: UnitReligion:ChangeEvictPercent, UnitReligion:GetEvictPercent |
0x28 |
m_iForeignSpreadModifier |
int |
|
0x2c |
m_bConvertsBarbarians |
bool |
|
0x2d |
m_bNoForeignSpread |
bool |
|
0x2e |
m_bRelicUponDeath |
bool |
|
0x2f |
m_bLandVictorySpread |
bool |
|
0x30 |
m_iLandVictorySpread |
int |
|
0x34 |
m_iPlunderImprovementFaithYield |
int |
|
0x38 |
m_iPlunderDistrictFaithYield |
int |
|
0x3c |
m_eRelicSource |
RelicSource |
|
0x40 |
m_aInitiationYieldPopulation |
InitiationYieldPopulationList |
|