Home › Class layouts › AI › AI::BehaviorTree::ProtectUnitData

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::BehaviorTree::ProtectUnitData

GameCore::AI::BehaviorTree::ProtectUnitData — structure, size 40 bytes (0x28).

Linux offset Member Type
0x0 UnitList AI::BehaviorTree::SharedData<const Types::Vector<GameCore::AI::BehaviorTree::BehaviorTreePriority<unsigned int>, Types::LinearAlloc::Default<1, 0> > >
0x10 DamagePercentage AI::BehaviorTree::SharedData<const FixedPointT<8> >
0x20 NumUnitsToProtect int