Home › Class layouts › Trade › Trade::Route

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

Trade::Route

GameCore::Trade::Route — class, size 112 bytes (0x70).

Linux offset Member Type
0x0 m_iID int
0x4 m_iStartTurn int
0x8 m_kTraderUnit Player::UnitID
0x10 m_Origin Player::CityID
0x18 m_Destination Player::CityID
0x20 m_eResourceType ResourceTypes
0x24 m_iResourceQuantity int
0x28 m_axOriginYields eastl::vector<FixedPointT<8>, eastl::allocator>
0x48 m_axDestinationYields eastl::vector<FixedPointT<8>, eastl::allocator>
0x68 m_bFinalizing bool