class
ShootCommandTask
- 7 properties
- 4 functions
Extends AIbehaviortaskScript AIbehaviorScriptBase IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
inCommand | AIArgumentMapping? | 0x0 | scripted |
currentCommand | WeakHandle<AIShootCommand> | 0x10 | scripted |
threatPersistenceSource | game.data.AIThreatPersistenceSource_Record? | 0x20 | scripted |
activationTimeStamp | float | 0x30 | scripted |
commandDuration | float | 0x34 | scripted |
target | WeakHandle<game.Object> | 0x38 | scripted |
targetID | ent.EntityID | 0x48 | scripted |
Functions
void Activate(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.PlaceVoid( "ShootCommandTask", "Activate;ScriptExecutionContext", (ShootCommandTask_Activate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ShootCommandTask_Activate( ShootCommandTask self, AIbehaviorScriptExecutionContext context );AIbehaviorUpdateOutcome Update(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.Place( "ShootCommandTask", "Update;ScriptExecutionContext", (ShootCommandTask_Update x) => { return re.Hooks.CallOriginal<re.msgpack.AIbehaviorUpdateOutcome>(); } ); [Msgpack.Gen] public readonly partial record struct ShootCommandTask_Update( ShootCommandTask self, AIbehaviorScriptExecutionContext context );void Deactivate(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.PlaceVoid( "ShootCommandTask", "Deactivate;ScriptExecutionContext", (ShootCommandTask_Deactivate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ShootCommandTask_Deactivate( ShootCommandTask self, AIbehaviorScriptExecutionContext context );void CancelCommand(AIbehaviorScriptExecutionContext context)RTTIre.Hooks.PlaceVoid( "ShootCommandTask", "CancelCommand;ScriptExecutionContext", (ShootCommandTask_CancelCommand x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ShootCommandTask_CancelCommand( ShootCommandTask self, AIbehaviorScriptExecutionContext context );