Home › Class layouts › AI › AI::Planning::Instance

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::Planning::Instance

GameCore::AI::Planning::Instance — class, size 104 bytes (0x68).

Linux offset Member Type
0x0 m_unit Unit::Instance*
0x8 m_turnsToSearch int
0xc m_combatRange int
0x10 m_uiUnitLayerID uint
0x14 m_eUnitDomain DomainTypes
0x18 m_kUnitLocation PlotCoord
0x20 m_eUnitOwner PlayerTypes
0x24 m_iUnitRange int
0x28 m_bUnitCanAttackAfterMoving bool
0x29 m_bUnitIsCombat bool
0x2a m_bHasReligiousStrength bool
0x30 m_availablePlots SearchInformation
0x48 m_availableTargets TargetPlanning
0x60 m_hasKill bool