Home › Class layouts › AI › AI::Operation::OperationDef
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::Operation::OperationDef
GameCore::AI::Operation::OperationDef — structure, size 128 bytes (0x80).
| Linux offset |
Member |
Type |
0x0 |
OpName |
Basic |
0x8 |
EnemyType |
Basic |
0x10 |
TargetLuaScript |
Basic |
0x18 |
ActiveEmergency |
Basic |
0x20 |
NameHash |
int |
0x24 |
OpType |
int |
0x28 |
TargetType |
AI::AiTargetType |
0x2c |
TargetParameter |
int |
0x30 |
UpdateTeamPoints |
bool |
0x38 |
BehaviorTreeName |
Basic |
0x40 |
Priority |
AI::Control::ControlPriority |
0x48 |
Teams |
Types::Vector<GameCore::AI::Operation::TeamDefinition, Types::LinearAlloc::Default<1, 0> > |
0x60 |
MaxDistInRegion |
int |
0x64 |
MaxDistInArea |
int |
0x68 |
MaxDistInWorld |
int |
0x6c |
MaxTargetStrength |
int |
0x70 |
MaxTargetDefense |
int |
0x74 |
MinOddsOfSuccess |
float |
0x78 |
SelfStart |
bool |
0x79 |
MustBeAtWar |
bool |
0x7a |
MustHaveNukes |
bool |
0x7c |
MustHaveMinUnits |
int |