Home › Class layouts › Cache › Cache::Player::Resources::Values

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::Resources::Values

GameCore::Cache::Player::Resources::Values — structure, size 240 bytes (0xf0).

Linux offset Member Type
0x0 m_aiResources ResourceArray
0x18 m_aiExportedResources ResourceArray
0x30 m_aCityResourceAllocation CityResourceAllocationArray
0x48 m_aiReservedResources ResourceArray
0x60 m_aAccumulatedResourcePerTurn ResourceArray
0x78 m_aImportedResourcePerTurn ResourceArray
0x90 m_aBonusResourcePerTurn ResourceArray
0xa8 m_aUnitResourceDemandPerTurn ResourceArray
0xc0 m_aPowerResourceDemandPerTurn ResourceArray
0xd8 m_aiResourceStockpileCap ResourceArray