class
ThrowGrenadeCommandTask
- 8 properties
- 5 functions
Extends AIbehaviortaskScript AIbehaviorScriptBase IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
inCommand | AIArgumentMapping? | 0x0 | scripted |
currentCommand | WeakHandle<AIThrowGrenadeCommand> | 0x10 | scripted |
threatPersistenceSource | game.data.AIThreatPersistenceSource_Record? | 0x20 | scripted |
activationTimeStamp | float | 0x30 | scripted |
commandDuration | float | 0x34 | scripted |
once | bool | 0x38 | scripted |
target | WeakHandle<game.Object> | 0x40 | scripted |
targetID | ent.EntityID | 0x50 | scripted |
Functions
void Activate(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.PlaceVoid( "ThrowGrenadeCommandTask", "Activate;ScriptExecutionContext", (ThrowGrenadeCommandTask_Activate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ThrowGrenadeCommandTask_Activate( ThrowGrenadeCommandTask self, AIbehaviorScriptExecutionContext context );AIbehaviorUpdateOutcome Update(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.Place( "ThrowGrenadeCommandTask", "Update;ScriptExecutionContext", (ThrowGrenadeCommandTask_Update x) => { return re.Hooks.CallOriginal<re.msgpack.AIbehaviorUpdateOutcome>(); } ); [Msgpack.Gen] public readonly partial record struct ThrowGrenadeCommandTask_Update( ThrowGrenadeCommandTask self, AIbehaviorScriptExecutionContext context );void Deactivate(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.PlaceVoid( "ThrowGrenadeCommandTask", "Deactivate;ScriptExecutionContext", (ThrowGrenadeCommandTask_Deactivate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ThrowGrenadeCommandTask_Deactivate( ThrowGrenadeCommandTask self, AIbehaviorScriptExecutionContext context );void CancelCommand(AIbehaviorScriptExecutionContext context)RTTIre.Hooks.PlaceVoid( "ThrowGrenadeCommandTask", "CancelCommand;ScriptExecutionContext", (ThrowGrenadeCommandTask_CancelCommand x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ThrowGrenadeCommandTask_CancelCommand( ThrowGrenadeCommandTask self, AIbehaviorScriptExecutionContext context );void StopCommand(AIbehaviorScriptExecutionContext context, AIThrowGrenadeCommand command, bool success)RTTIre.Hooks.PlaceVoid( "ThrowGrenadeCommandTask", "StopCommand;ScriptExecutionContextAIThrowGrenadeCommandBool", (ThrowGrenadeCommandTask_StopCommand x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ThrowGrenadeCommandTask_StopCommand( ThrowGrenadeCommandTask self, AIbehaviorScriptExecutionContext context, AIThrowGrenadeCommand? command, bool success );