Home › Class layouts › AI › AI::BehaviorTree::RecruitUnitsData

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

GameCore::AI::BehaviorTree::RecruitUnitsData — structure, size 144 bytes (0x90).

Linux offset Member Type
0x0 OperationInProgress AI::BehaviorTree::SharedData<const bool>
0x10 UnitContract AI::BehaviorTree::SharedData<int>
0x20 AllowedRange AI::BehaviorTree::SharedData<const int>
0x30 AllowCreation AI::BehaviorTree::SharedData<const bool>
0x40 RecruitValue AI::BehaviorTree::SharedData<const int>
0x50 TimeLimit AI::BehaviorTree::SharedData<const int>
0x60 AllowStealing AI::BehaviorTree::SharedData<const bool>
0x70 AllowLevying AI::BehaviorTree::SharedData<const bool>
0x80 LastNumUnits int
0x84 CurNumUnits int
0x88 RecruitedToReady bool
0x8c UnitToMake UnitTypes