Home › Class layouts › AI › AI::Trade::City

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

GameCore::AI::Trade::City — class, size 64 bytes (0x40).

Linux offset Member Type
0x0 m_city City::Instance*
0x8 m_curTradeRoutes int
0xc m_curTradeUnits int
0x10 m_tradeConnectedCities TradeCities
0x28 m_knownFailedConnections Types::Vector<GameCore::Player::CityID, Types::LinearAlloc::Default<1, 0> >