Home › Class layouts › Cache › Cache::Player::Instance

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

Cache::Player::Instance

GameCore::Cache::Player::Instance — class, size 184 bytes (0xb8).

Linux offset Member Type Lua methods (inferred)
0x0 m_kConstant Player::Reflection::Constants1 reads: AiDiplomacy:GetDiplomaticModifiers, PlayerCities:GetFirstRangedAttackCity, PlayerCities:GetNextCapturedCity, PlayerCities:GetNextRebelledCity (+100 more)
0x10 m_kVariant Player::Reflection::Variants1 reads: PlayerCulture:RequestChangeGovernment, PlayerCulture:RequestClearSlot, PlayerCulture:RequestEnactPolicy, PlayerCulture:RequestPolicyChanges
0x58 m_kProperties Data::TypedVariantMap
0xb0 m_pkValues Cache::Player::InstanceValues*