Home › Class layouts › AI › AI::VictoryStrategy

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

GameCore::AI::VictoryStrategy — class, size 248 bytes (0xf8).

Bases: Platform::Job at 0x0

Linux offset Member Type
0x28 m_player ParentPtr<GameCore::Player::Instance>
0x30 m_pursuingStrategies Types::Vector<bool, Types::LinearAlloc::Default<1, 0> >
0x48 m_forbiddenStrategies Types::Vector<bool, Types::LinearAlloc::Default<1, 0> >
0x60 m_mustChangeState Types::Vector<bool, Types::LinearAlloc::Default<1, 0> >
0x78 m_meetsExclusiveCondition Types::Vector<bool, Types::LinearAlloc::Default<1, 0> >
0x90 m_nextTurnChangeAllowed Types::Vector<int, Types::LinearAlloc::Default<1, 0> >
0xa8 m_extraStrategyConditions Types::Vector<int, Types::LinearAlloc::Default<1, 0> >
0xc0 m_pseudoYieldPriorities Types::Vector<FixedPointT<8>, Types::LinearAlloc::Default<1, 0> >
0xd8 m_yieldPriorities Types::Vector<FixedPointT<8>, Types::LinearAlloc::Default<1, 0> >
0xf0 m_isDone bool

Virtual functions

Slot order of the class's own vtable (inferred, see Virtual function tables). A virtual call call [vptr+offset] uses the byte offset. Owner is shown when the entry is inherited or overridden elsewhere.

Slot Offset Method Address in current build
0 0x0 \~VictoryStrategy 0x535800
1 0x8 Execute 0x536b00