Home › Class layouts › AI › AI::Targets

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::Targets

GameCore::AI::Targets — class, size 2504 bytes (0x9c8).

Linux offset Member Type Lua methods (inferred)
0x0 m_syncArchive FAutoArchiveClassContainer<GameCore::AI::Targets>
0x98 m_Initialized bool
0xa0 m_player Player::Instance*
0xa8 m_prioritizeUnits PrioritizeUnitsFcn reads: AiMilitary:ScriptForceUpdateTargets
0xb8 m_desiredTargets TargetTypeIndexList<bool> reads: AiMilitary:ScriptForceUpdateTargets
0xd8 m_releaseTurn FAutoVariable<int, GameCore::AI::Targets> reads: AiMilitary:ScriptForceUpdateTargets
0xf0 m_newWarStarted FAutoVariable<bool, GameCore::AI::Targets>
0x108 m_priority FAutoVariable<GameCore::AI::Control::ControlPriority, GameCore::AI::Targets>
0x120 m_turnActivatedSignal Message::Handle
0x130 m_turnDeactivatedSignal Message::Handle
0x140 m_plotVisibilitySignal Message::Handle
0x150 m_cityDestroyedSignal Message::Handle
0x160 m_playerDestroyedSignal Message::Handle
0x170 m_playerMetSignal Message::Handle
0x180 m_unitCapturedSignal Message::Handle
0x190 m_unitKilledSignal Message::Handle
0x1a0 m_unitCreatedSignal Message::Handle
0x1b0 m_unitDamagedBySignal Message::Handle
0x1c0 m_warStartedSignal Message::Handle
0x1d0 m_playerIntroducedSignal Message::Handle
0x1e0 m_mapVisibility eastl::map<unsigned int, GameCore::AI::ExplorationInfo, eastl::less<unsigned int>, eastl::allocator> reads: AiMilitary:ScriptForceUpdateTargets
0x210 m_mapAreaVisibility eastl::map<unsigned int, GameCore::AI::ExplorationInfo, eastl::less<unsigned int>, eastl::allocator> reads: AiMilitary:ScriptForceUpdateTargets
0x240 m_targets FAutoVariable<GameCore::AI::TargetList, GameCore::AI::Targets>
0x270 m_knowledgeBase FAutoVariable<GameCore::AI::CivKnowledge, GameCore::AI::Targets> reads: AiMilitary:SetScriptedTargetAndRally
0x9a0 m_operationStartPoints FAutoVariable<Types::Vector<GameCore::PlotCoord, Types::LinearAlloc::Default<1, 0> >, GameCore::AI::Targets> reads: AiMilitary:SetScriptedTargetAndRally