Loading...
Searching...
No Matches
AdventureSouls.SoulsInput.SystemActions Struct Reference

Detailed Description

Provides access to input actions defined in input action map "System".

Public Member Functions

 SystemActions (@SoulsInput wrapper)
 Construct a new instance of the input action map wrapper class.
 
InputActionMap Get ()
 Provides access to the underlying input action map instance.
 
void Enable ()
 
void Disable ()
 
void AddCallbacks (ISystemActions instance)
 Adds InputAction.started, InputAction.performed and InputAction.canceled callbacks provided via on all input actions contained in this map.
 
void RemoveCallbacks (ISystemActions instance)
 Unregisters and unregisters all input action callbacks via SystemActions.UnregisterCallbacks(ISystemActions).
 
void SetCallbacks (ISystemActions instance)
 Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via .
 

Static Public Member Functions

static implicit operator InputActionMap (SystemActions set)
 Implicitly converts an to an instance.
 

Properties

InputAction Menu [get]
 Provides access to the underlying input action "System/Menu".
 
bool enabled [get]
 

Member Function Documentation

◆ AddCallbacks()

void AdventureSouls.SoulsInput.SystemActions.AddCallbacks ( ISystemActions instance)
inline

Adds InputAction.started, InputAction.performed and InputAction.canceled callbacks provided via on all input actions contained in this map.

Parameters
instanceCallback instance.

If instance is null or instance have already been added this method does nothing.

See also
SystemActions

◆ RemoveCallbacks()

void AdventureSouls.SoulsInput.SystemActions.RemoveCallbacks ( ISystemActions instance)
inline

Unregisters and unregisters all input action callbacks via SystemActions.UnregisterCallbacks(ISystemActions).

See also
SystemActions.UnregisterCallbacks(ISystemActions)

◆ SetCallbacks()

void AdventureSouls.SoulsInput.SystemActions.SetCallbacks ( ISystemActions instance)
inline

Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via .

If instance is null, calling this method will only unregister all existing callbacks but not register any new callbacks.

See also
SystemActions.AddCallbacks(ISystemActions), SystemActions.RemoveCallbacks(ISystemActions), SystemActions.UnregisterCallbacks(ISystemActions)