Home › Class layouts › AI › AI::CityTradeInfo

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

AI::CityTradeInfo

GameCore::AI::CityTradeInfo — class, size 96 bytes (0x60).

Linux offset Member Type
0x0 m_kFromCity Player::CityID
0x8 m_kToCity Player::CityID
0x10 m_kTradeYieldValuesForOriginCity YieldTradeValueList
0x30 m_kTradeYieldValuesForDestinationCity YieldTradeValueList
0x50 m_eBestYieldForOriginCity YieldTypes
0x54 m_eBestYieldForDestinationCity YieldTypes
0x58 m_xTotalValue FixedPoint