Home › Class layouts › AI › AI::MilitaryDefense

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

GameCore::AI::MilitaryDefense — class, size 88 bytes (0x58).

Bases: Platform::Job at 0x0

Linux offset Member Type
0x28 m_player const GameCore::Player::Instance*
0x30 m_type AI::MilitaryDefense::DefenseType
0x34 m_subject IDType
0x38 m_desiredNumUnits int
0x3c m_currentNumUnits int
0x40 m_assignments Types::Vector<GameCore::AI::MilitaryDefense::Assignment, Types::LinearAlloc::Default<1, 0> >