class
ConsumableUseEvents
- 3 properties
- 2 functions
Extends ConsumableTransitions DefaultTransition game.stateMachine.Functor IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
effectsApplied | bool | 0x0 | scripted |
modelRemoved | bool | 0x1 | scripted |
activeConsumable | game.ItemID | 0x4 | scripted |
Functions
void OnEnter(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "ConsumableUseEvents", "OnEnter;StateContextStateGameScriptInterface", (ConsumableUseEvents_OnEnter x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ConsumableUseEvents_OnEnter( ConsumableUseEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void OnUpdate(float timeDelta, game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "ConsumableUseEvents", "OnUpdate;FloatStateContextStateGameScriptInterface", (ConsumableUseEvents_OnUpdate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ConsumableUseEvents_OnUpdate( ConsumableUseEvents self, float timeDelta, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );