Home › Class layouts › Cache › Cache::Unit::Trade

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::Unit::Trade

GameCore::Cache::Unit::Trade — class, size 24 bytes (0x18).

Linux offset Member Type Lua methods (inferred)
0x0 m_pkParent Cache::Unit::Instance*
0x8 m_Variants UnitTrade::Reflection::Variants1 reads: UnitTrade:GetLastOriginTradeCityComponentID