Home › Class layouts › Trade › Trade::TradePathCacheData
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::TradePathCacheData
GameCore::Trade::TradePathCacheData — structure, size 144 bytes (0x90).
| Linux offset |
Member |
Type |
0x0 |
m_ePlayerID |
PlayerTypes |
0x8 |
m_pkPlayer |
const GameCore::Player::Instance* |
0x10 |
m_uiModifiers |
uint |
0x18 |
m_pkPlayerVisibility |
const GameCore::Map::Player::Visibility::Instance* |
0x20 |
m_bIsHuman |
bool |
0x21 |
m_bWaterRouteAllowed |
bool |
0x22 |
m_bLandRouteAllowed |
bool |
0x23 |
m_bOwnerIsMajor |
bool |
0x24 |
m_iBaseRange |
int |
0x28 |
m_iLandRangeRefuel |
int |
0x2c |
m_iWaterRangeRefuel |
int |
0x30 |
m_iDestinationDistrictRangeRefuel |
int |
0x34 |
m_eBestRoute |
RouteTypes |
0x38 |
m_pkLastRangeSource |
Pathfinder::WorkingNode* |
0x40 |
m_pkLastRangeDest |
Pathfinder::WorkingNode* |
0x48 |
m_xLastMovementRange |
FixedPoint |
0x4c |
m_bLastMovementRefueled |
bool |
0x4d |
m_abIsAtWarWith |
bool[] |