class
MeleeAttackCommandTask
- 5 properties
- 4 functions
Extends AIbehaviortaskScript AIbehaviorScriptBase IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
inCommand | AIArgumentMapping? | 0x0 | scripted |
currentCommand | WeakHandle<AIMeleeAttackCommand> | 0x10 | scripted |
threatPersistenceSource | game.data.AIThreatPersistenceSource_Record? | 0x20 | scripted |
activationTimeStamp | float | 0x30 | scripted |
commandDuration | float | 0x34 | scripted |
Functions
void Activate(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.PlaceVoid( "MeleeAttackCommandTask", "Activate;ScriptExecutionContext", (MeleeAttackCommandTask_Activate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct MeleeAttackCommandTask_Activate( MeleeAttackCommandTask self, AIbehaviorScriptExecutionContext context );AIbehaviorUpdateOutcome Update(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.Place( "MeleeAttackCommandTask", "Update;ScriptExecutionContext", (MeleeAttackCommandTask_Update x) => { return re.Hooks.CallOriginal<re.msgpack.AIbehaviorUpdateOutcome>(); } ); [Msgpack.Gen] public readonly partial record struct MeleeAttackCommandTask_Update( MeleeAttackCommandTask self, AIbehaviorScriptExecutionContext context );void Deactivate(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.PlaceVoid( "MeleeAttackCommandTask", "Deactivate;ScriptExecutionContext", (MeleeAttackCommandTask_Deactivate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct MeleeAttackCommandTask_Deactivate( MeleeAttackCommandTask self, AIbehaviorScriptExecutionContext context );void CancelCommand(AIbehaviorScriptExecutionContext context, AIMeleeAttackCommand typedCommand)RTTIre.Hooks.PlaceVoid( "MeleeAttackCommandTask", "CancelCommand;ScriptExecutionContextAIMeleeAttackCommand", (MeleeAttackCommandTask_CancelCommand x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct MeleeAttackCommandTask_CancelCommand( MeleeAttackCommandTask self, AIbehaviorScriptExecutionContext context, AIMeleeAttackCommand? typedCommand );