Home › Class layouts › Player › Player::Governors

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

GameCore::Player::Governors — class, size 384 bytes (0x180).

Bases: Player::Component::IInstance at 0x0

Linux offset Member Type
0x14 iStartingGovernorCount int
0x18 m_aPlayerGovernors GovernorList
0x60 m_iMaxGovernorTitles int
0x68 m_pPlayer ParentPtr<GameCore::Player::Instance>
0x70 m_syncArchive FAutoArchiveClassContainer<GameCore::Player::Governors>
0x108 m_iGovernorPoints FAutoVariable<int, GameCore::Player::Governors>
0x120 m_iNeutralizedIndefinitely FAutoVariable<int, GameCore::Player::Governors>
0x138 m_bTitleConsidered FAutoVariable<bool, GameCore::Player::Governors>
0x150 m_eFavoredGovernor FAutoVariable<GameCore::GovernorTypes, GameCore::Player::Governors>
0x168 m_iDiplomaticFavor FAutoVariable<int, GameCore::Player::Governors>

Virtual functions

Slot order of the class's own vtable (inferred, see Virtual function tables). A virtual call call [vptr+offset] uses the byte offset. Owner is shown when the entry is inherited or overridden elsewhere.

Slot Offset Method Address in current build
0 0x0 \~Governors 0x2dca60
1 0x8 Initialize 0x2df1a0
2 0x10 Uninitialize 0x8972d0
3 0x18 Reset 0x2df6f0