class
AimToggleListener
- 5 properties
- 5 functions
Extends userSettings.VarListener IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
settings | userSettings.UserSettings? | 0x0 | scripted |
settingsGroup | userSettings.Group? | 0x10 | scripted |
toggleAim | bool | 0x20 | scripted |
isADS | bool | 0x21 | scripted |
accessibilityControlsPath | CName | 0x28 | scripted |
Functions
void Initialize(game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "AimToggleListener", "Initialize;StateGameScriptInterface", (AimToggleListener_Initialize x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AimToggleListener_Initialize( AimToggleListener self, game.stateMachine.GameScriptInterface? scriptInterface );void OnVarModified(CName groupPath, CName varName, InGameConfigVarType varType, InGameConfigChangeReason reason)overrideRTTIre.Hooks.PlaceVoid( "AimToggleListener", "OnVarModified", (AimToggleListener_OnVarModified x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AimToggleListener_OnVarModified( AimToggleListener self, CName groupPath, CName varName, InGameConfigVarType varType, InGameConfigChangeReason reason );void OnAction(game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer)RTTIre.Hooks.PlaceVoid( "AimToggleListener", "OnAction;ListenerActionListenerActionConsumer", (AimToggleListener_OnAction x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AimToggleListener_OnAction( AimToggleListener self, game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer );void ADSForcedOff()RTTIre.Hooks.PlaceVoid( "AimToggleListener", "ADSForcedOff;", (AimToggleListener_ADSForcedOff x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AimToggleListener_ADSForcedOff( AimToggleListener self );bool GetADS()RTTIre.Hooks.Place( "AimToggleListener", "GetADS;", (AimToggleListener_GetADS x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct AimToggleListener_GetADS( AimToggleListener self );