class
SmasherPlayVFX
- 10 properties
- 5 functions
Extends AIbehaviortaskScript AIbehaviorScriptBase IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
vfxOffset | Vector3 | 0x0 | scripted |
vfxResource | game.FxResource | 0x10 | scripted |
fxDirection | AIArgumentMapping? | 0x18 | scripted |
attachmentSlotName | CName | 0x28 | scripted |
delay | float | 0x30 | scripted |
KillFx | bool | 0x34 | scripted |
effectToKill | CName | 0x38 | scripted |
owner | WeakHandle<game.Object> | 0x40 | scripted |
vfxInstance | game.FxInstance? | 0x50 | scripted |
startTime | float | 0x60 | scripted |
Functions
void Activate(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.PlaceVoid( "SmasherPlayVFX", "Activate;ScriptExecutionContext", (SmasherPlayVFX_Activate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct SmasherPlayVFX_Activate( SmasherPlayVFX self, AIbehaviorScriptExecutionContext context );AIbehaviorUpdateOutcome Update(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.Place( "SmasherPlayVFX", "Update;ScriptExecutionContext", (SmasherPlayVFX_Update x) => { return re.Hooks.CallOriginal<re.msgpack.AIbehaviorUpdateOutcome>(); } ); [Msgpack.Gen] public readonly partial record struct SmasherPlayVFX_Update( SmasherPlayVFX self, AIbehaviorScriptExecutionContext context );void SpawnVFX(AIbehaviorScriptExecutionContext context, game.FxResource fx, Vector4 fxPosition, Vector4 fxDirection)RTTIre.Hooks.PlaceVoid( "SmasherPlayVFX", "SpawnVFX;ScriptExecutionContextFxResourceVector4Vector4", (SmasherPlayVFX_SpawnVFX x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct SmasherPlayVFX_SpawnVFX( SmasherPlayVFX self, AIbehaviorScriptExecutionContext context, game.FxResource fx, Vector4 fxPosition, Vector4 fxDirection );game.FxInstance? CreateFxInstance(AIbehaviorScriptExecutionContext context, game.FxResource resource, WorldTransform transform)RTTIre.Hooks.Place( "SmasherPlayVFX", "CreateFxInstance;ScriptExecutionContextFxResourceWorldTransform", (SmasherPlayVFX_CreateFxInstance x) => { return re.Hooks.CallOriginal<re.msgpack.game.FxInstance>(); } ); [Msgpack.Gen] public readonly partial record struct SmasherPlayVFX_CreateFxInstance( SmasherPlayVFX self, AIbehaviorScriptExecutionContext context, game.FxResource resource, WorldTransform transform );void Deactivate(AIbehaviorScriptExecutionContext context)overrideRTTIre.Hooks.PlaceVoid( "SmasherPlayVFX", "Deactivate;ScriptExecutionContext", (SmasherPlayVFX_Deactivate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct SmasherPlayVFX_Deactivate( SmasherPlayVFX self, AIbehaviorScriptExecutionContext context );