Home › Class layouts › Cache › Cache::Player::Treasury

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

GameCore::Cache::Player::Treasury — class, size 224 bytes (0xe0).

Linux offset Member Type Lua methods (inferred)
0x0 m_pkPlayer Cache::Player::Instance*
0x8 m_GoldYield GameAttribute reads: PlayerTreasury:GetGoldYield
0x68 m_TotalMaintenance GameAttribute reads: PlayerTreasury:GetTotalMaintenance
0xc8 m_Variants PlayerTreasury::Reflection::Variants1 reads: PlayerTreasury:GetBuildingMaintenance, PlayerTreasury:GetDistrictMaintenance, PlayerTreasury:GetGoldBalance, PlayerTreasury:GetUnitMaintenance