Home › Class layouts › Formation › Formation::UnitPathCacheData
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).
Formation::UnitPathCacheData
GameCore::Formation::UnitPathCacheData — structure, size 128 bytes (0x80).
| Linux offset |
Member |
Type |
0x0 |
m_aBaseMoves |
int[] |
0x14 |
m_iMaxMoves |
int |
0x18 |
m_ePlayerID |
PlayerTypes |
0x1c |
m_uiModifiers |
uint |
0x20 |
m_eDomainType |
DomainTypes |
0x24 |
m_uiLayerID |
uint |
0x28 |
m_pkPlayerVisibility |
const GameCore::Map::Player::Visibility::Instance* |
0x30 |
m_uiUnitPlotLimit |
uint |
0x34 |
m_kStartLocation |
PlotCoord |
0x3c |
m_xStartingMovementRemaining |
FixedPoint |
0x40 |
m_pkLastCostSource |
Pathfinder::WorkingNode* |
0x48 |
m_pkLastCostDest |
Pathfinder::WorkingNode* |
0x50 |
m_xLastMovementCost |
FixedPoint |
0x54 |
m_xLastMovementRemaining |
FixedPoint |
0x58 |
m_xLastMovementExitCost |
FixedPoint |
0x5c |
m_iLastMovementTurns |
int |
0x60 |
m_pkFinalDestination |
const GameCore::Map::Plot::Instance* |
0x68 |
m_eReligion |
ReligionTypes |
0x6c |
m_iBarbarianTribeIndex |
int |
0x70 |
m_bIgnoresZOC |
bool |
0x71 |
m_bIncludesNavalUnit |
bool |
0x72 |
m_bIncludesLandUnit |
bool |
0x73 |
m_bIncludesAirUnit |
bool |
0x74 |
m_bIncludesHoverUnit |
bool |
0x75 |
m_bIsEmbarked |
bool |
0x76 |
m_bIsHuman |
bool |
0x77 |
m_bIsAutomated |
bool |
0x78 |
m_bCanAttack |
bool |