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

Formation::Instance

GameCore::Formation::Instance — class, size 632 bytes (0x278).

Linux offset Member Type Lua methods (inferred)
0x0 m_syncArchive FAutoArchiveClassContainer<GameCore::Formation::Instance>
0x98 m_pPlayer Player::Instance*
0xa0 m_id FAutoVariable<unsigned int, GameCore::Formation::Instance>
0xb8 m_kLocation FAutoVariable<GameCore::PlotCoord, GameCore::Formation::Instance>
0xd0 m_eOwner FAutoVariable<GameCore::PlayerTypes, GameCore::Formation::Instance> reads: Unit:GetFormationUnitIDs, Unit:GetFormationUnits, Unit:IsReadyToMove, Unit:IsReadyToSelect
0xe8 m_xMovesRemaining FAutoVariable<FixedPointT<8>, GameCore::Formation::Instance>
0x100 m_eDomain FAutoVariable<GameCore::DomainTypes, GameCore::Formation::Instance>
0x118 m_bIsEmbarked FAutoVariable<bool, GameCore::Formation::Instance>
0x130 m_bCanEmbark FAutoVariable<bool, GameCore::Formation::Instance>
0x148 m_bCanAttack FAutoVariable<bool, GameCore::Formation::Instance>
0x160 m_bIsRangedCombat FAutoVariable<bool, GameCore::Formation::Instance>
0x178 m_bCanCapture FAutoVariable<bool, GameCore::Formation::Instance>
0x190 m_bHasMoved FAutoVariable<bool, GameCore::Formation::Instance>
0x1a8 m_bHasMovedIntoZOC FAutoVariable<bool, GameCore::Formation::Instance> reads: Unit:HasMovedIntoZOC
0x1c0 m_bIgnoresZOC FAutoVariable<bool, GameCore::Formation::Instance>
0x1d8 m_bEvaluatingOperation FAutoVariable<bool, GameCore::Formation::Instance>
0x1f0 m_kLastPath FAutoVariable<GameCore::Pathfinder::ResultNodeArray, GameCore::Formation::Instance>
0x218 m_kLastPathCacheLocation FAutoVariable<GameCore::PlotCoord, GameCore::Formation::Instance>
0x230 m_kUnitIDList FAutoVariable<Types::Vector<unsigned int, Types::LinearAlloc::DefaultInline<unsigned int, 4, 1, 51> >, GameCore::Formation::Instance>