class
PublicSafeDecisions
- 9 properties
- 16 functions
Extends WeaponReadyListenerTransition WeaponTransition DefaultTransition game.stateMachine.Functor IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
isSprinting | bool | 0x80 | scripted |
inKereznikov | bool | 0x81 | scripted |
inCombat | bool | 0x82 | scripted |
inDangerousZone | bool | 0x83 | scripted |
inFocusMode | bool | 0x84 | scripted |
isInVehicleCombat | bool | 0x85 | scripted |
isInVehTurret | bool | 0x86 | scripted |
isAiming | bool | 0x87 | scripted |
rangedAttackPressed | bool | 0x88 | scripted |
Functions
void OnAttach(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)overrideRTTIre.Hooks.PlaceVoid( "PublicSafeDecisions", "OnAttach;StateContextStateGameScriptInterface", (PublicSafeDecisions_OnAttach x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_OnAttach( PublicSafeDecisions self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void OnDetach(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)overrideRTTIre.Hooks.PlaceVoid( "PublicSafeDecisions", "OnDetach;StateContextStateGameScriptInterface", (PublicSafeDecisions_OnDetach x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_OnDetach( PublicSafeDecisions self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void UpdateShouldOnEnterBeEnabled()RTTIre.Hooks.PlaceVoid( "PublicSafeDecisions", "UpdateShouldOnEnterBeEnabled;", (PublicSafeDecisions_UpdateShouldOnEnterBeEnabled x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_UpdateShouldOnEnterBeEnabled( PublicSafeDecisions self );void UpdateWeaponReadyListenerReturnValue()overrideRTTIre.Hooks.PlaceVoid( "PublicSafeDecisions", "UpdateWeaponReadyListenerReturnValue;", (PublicSafeDecisions_UpdateWeaponReadyListenerReturnValue x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_UpdateWeaponReadyListenerReturnValue( PublicSafeDecisions self );bool OnAction(game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer)RTTIre.Hooks.Place( "PublicSafeDecisions", "OnAction", (PublicSafeDecisions_OnAction x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_OnAction( PublicSafeDecisions self, game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer );bool OnLocomotionChanged(int value)overrideRTTIre.Hooks.Place( "PublicSafeDecisions", "OnLocomotionChanged", (PublicSafeDecisions_OnLocomotionChanged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_OnLocomotionChanged( PublicSafeDecisions self, int value );bool OnCombatChanged(int value)RTTIre.Hooks.Place( "PublicSafeDecisions", "OnCombatChanged", (PublicSafeDecisions_OnCombatChanged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_OnCombatChanged( PublicSafeDecisions self, int value );bool OnZonesChanged(int value)RTTIre.Hooks.Place( "PublicSafeDecisions", "OnZonesChanged", (PublicSafeDecisions_OnZonesChanged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_OnZonesChanged( PublicSafeDecisions self, int value );bool OnVisionChanged(int value)RTTIre.Hooks.Place( "PublicSafeDecisions", "OnVisionChanged", (PublicSafeDecisions_OnVisionChanged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_OnVisionChanged( PublicSafeDecisions self, int value );bool OnVehicleChanged(int value)RTTIre.Hooks.Place( "PublicSafeDecisions", "OnVehicleChanged", (PublicSafeDecisions_OnVehicleChanged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_OnVehicleChanged( PublicSafeDecisions self, int value );bool OnUpperBodyChanged(int value)RTTIre.Hooks.Place( "PublicSafeDecisions", "OnUpperBodyChanged", (PublicSafeDecisions_OnUpperBodyChanged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_OnUpperBodyChanged( PublicSafeDecisions self, int value );bool EnterCondition(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.Place( "PublicSafeDecisions", "EnterCondition;StateContextStateGameScriptInterface", (PublicSafeDecisions_EnterCondition x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_EnterCondition( PublicSafeDecisions self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );bool ToNotReady(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.Place( "PublicSafeDecisions", "ToNotReady;StateContextStateGameScriptInterface", (PublicSafeDecisions_ToNotReady x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_ToNotReady( PublicSafeDecisions self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );bool ToPublicSafeToReady(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.Place( "PublicSafeDecisions", "ToPublicSafeToReady;StateContextStateGameScriptInterface", (PublicSafeDecisions_ToPublicSafeToReady x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_ToPublicSafeToReady( PublicSafeDecisions self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );bool ToNoAmmo(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.Place( "PublicSafeDecisions", "ToNoAmmo;StateContextStateGameScriptInterface", (PublicSafeDecisions_ToNoAmmo x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_ToNoAmmo( PublicSafeDecisions self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );bool ShouldLeaveSafe(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.Place( "PublicSafeDecisions", "ShouldLeaveSafe;StateContextStateGameScriptInterface", (PublicSafeDecisions_ShouldLeaveSafe x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PublicSafeDecisions_ShouldLeaveSafe( PublicSafeDecisions self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );