Home › Class layouts › Exports › Exports::PlayerInfluence

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

Exports::PlayerInfluence

GameCore::Exports::PlayerInfluence — class, size 32 bytes (0x20).

Bases: Interfaces::IPlayerInfluence1 at 0x0

Linux offset Member Type
0x8 m_pkPlayerInfluence Player::Influence*
0x10 m_pkCachePlayerInfluence const GameCore::Cache::Player::Influence*
0x18 m_uiRefCount uint

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 QueryInterface 0x59f4a0
1 0x8 Destroy 0x59f330
2 0x10 CanGiveInfluence 0x59f2f0
3 0x18 GetPointsEarned 0x59f380
4 0x20 GetPointsPerTurn 0x59f3c0
5 0x28 GetPointsThreshold 0x59f400
6 0x30 GetTokensPerThreshold 0x59f440
7 0x38 GetTokensToGive 0x59f480
8 0x40 CanReceiveInfluence 0x59f310
9 0x48 GetSuzerain 0x59f420
10 0x50 GetTokensReceived 0x59f460
11 0x58 GetMostTokensReceived 0x59f360
12 0x60 FillCache 0x59f350