Home › Class layouts › City › City::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).

City::Trade

GameCore::City::Trade — class, size 568 bytes (0x238).

Linux offset Member Type
0x0 m_pCity ParentPtr<GameCore::City::Instance>
0x8 m_axFlatYieldBonusToOthersForDomestic eastl::vector<FixedPointT<8>, eastl::allocator>
0x28 m_axFlatYieldBonusToOthers eastl::vector<FixedPointT<8>, eastl::allocator>
0x48 m_axFlatYieldBonusFromOthers eastl::vector<FixedPointT<8>, eastl::allocator>
0x68 m_axFlatYieldBonusForDomestic eastl::vector<FixedPointT<8>, eastl::allocator>
0x88 m_axFlatYieldBonusForInternational eastl::vector<FixedPointT<8>, eastl::allocator>
0xa8 m_axYieldPerLocalBonusResourceForDomestic eastl::vector<FixedPointT<8>, eastl::allocator>
0xc8 m_axYieldPerLocalBonusResourceForInternational eastl::vector<FixedPointT<8>, eastl::allocator>
0xe8 m_axYieldPerDestinationLuxuryResourceForInternational eastl::vector<FixedPointT<8>, eastl::allocator>
0x108 m_axYieldPerDestinationStrategicResourceForDomestic eastl::vector<FixedPointT<8>, eastl::allocator>
0x128 m_axYieldPerDestinationStrategicResourceForInternational eastl::vector<FixedPointT<8>, eastl::allocator>
0x148 m_axYieldFromForeignRoutesPassingThrough eastl::vector<FixedPointT<8>, eastl::allocator>
0x168 m_axYieldPerLocalLuxuryResourceForInternational eastl::vector<FixedPointT<8>, eastl::allocator>
0x188 m_axYieldPerLocalStrategicResourceForInternational eastl::vector<FixedPointT<8>, eastl::allocator>
0x1a8 m_axYieldPerMajorTradePartner eastl::vector<FixedPointT<8>, eastl::allocator>
0x1c8 m_vbConstructedTradingPosts TradingPostArray
0x230 m_iNumForeignRoutesPassingThrough int