⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Struct NeoFpsInputActions.InventoryActions

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

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: NeoFPS
    Assembly: NeoFPS.dll
    Syntax
    public struct InventoryActions

    Constructors

    InventoryActions(NeoFpsInputActions)

    Construct a new instance of the input action map wrapper class.

    Declaration
    public InventoryActions(NeoFpsInputActions wrapper)
    Parameters
    Type Name Description
    NeoFpsInputActions wrapper

    Properties

    DropWeapon

    Provides access to the underlying input action "Inventory/DropWeapon".

    Declaration
    public InputAction DropWeapon { get; }
    Property Value
    Type Description
    InputAction

    enabled

    Declaration
    public bool enabled { get; }
    Property Value
    Type Description
    System.Boolean

    HolsterWeapon

    Provides access to the underlying input action "Inventory/HolsterWeapon".

    Declaration
    public InputAction HolsterWeapon { get; }
    Property Value
    Type Description
    InputAction

    InspectWeapon

    Provides access to the underlying input action "Inventory/InspectWeapon".

    Declaration
    public InputAction InspectWeapon { get; }
    Property Value
    Type Description
    InputAction

    InventoryScroll

    Provides access to the underlying input action "Inventory/InventoryScroll".

    Declaration
    public InputAction InventoryScroll { get; }
    Property Value
    Type Description
    InputAction

    NextWeapon

    Provides access to the underlying input action "Inventory/NextWeapon".

    Declaration
    public InputAction NextWeapon { get; }
    Property Value
    Type Description
    InputAction

    PreviousWeapon

    Provides access to the underlying input action "Inventory/PreviousWeapon".

    Declaration
    public InputAction PreviousWeapon { get; }
    Property Value
    Type Description
    InputAction

    QuickSlot1

    Provides access to the underlying input action "Inventory/QuickSlot1".

    Declaration
    public InputAction QuickSlot1 { get; }
    Property Value
    Type Description
    InputAction

    QuickSlot10

    Provides access to the underlying input action "Inventory/QuickSlot10".

    Declaration
    public InputAction QuickSlot10 { get; }
    Property Value
    Type Description
    InputAction

    QuickSlot2

    Provides access to the underlying input action "Inventory/QuickSlot2".

    Declaration
    public InputAction QuickSlot2 { get; }
    Property Value
    Type Description
    InputAction

    QuickSlot3

    Provides access to the underlying input action "Inventory/QuickSlot3".

    Declaration
    public InputAction QuickSlot3 { get; }
    Property Value
    Type Description
    InputAction

    QuickSlot4

    Provides access to the underlying input action "Inventory/QuickSlot4".

    Declaration
    public InputAction QuickSlot4 { get; }
    Property Value
    Type Description
    InputAction

    QuickSlot5

    Provides access to the underlying input action "Inventory/QuickSlot5".

    Declaration
    public InputAction QuickSlot5 { get; }
    Property Value
    Type Description
    InputAction

    QuickSlot6

    Provides access to the underlying input action "Inventory/QuickSlot6".

    Declaration
    public InputAction QuickSlot6 { get; }
    Property Value
    Type Description
    InputAction

    QuickSlot7

    Provides access to the underlying input action "Inventory/QuickSlot7".

    Declaration
    public InputAction QuickSlot7 { get; }
    Property Value
    Type Description
    InputAction

    QuickSlot8

    Provides access to the underlying input action "Inventory/QuickSlot8".

    Declaration
    public InputAction QuickSlot8 { get; }
    Property Value
    Type Description
    InputAction

    QuickSlot9

    Provides access to the underlying input action "Inventory/QuickSlot9".

    Declaration
    public InputAction QuickSlot9 { get; }
    Property Value
    Type Description
    InputAction

    SwitchWeapon

    Provides access to the underlying input action "Inventory/SwitchWeapon".

    Declaration
    public InputAction SwitchWeapon { get; }
    Property Value
    Type Description
    InputAction

    Methods

    AddCallbacks(NeoFpsInputActions.IInventoryActions)

    Adds , and callbacks provided via on all input actions contained in this map.

    Declaration
    public void AddCallbacks(NeoFpsInputActions.IInventoryActions instance)
    Parameters
    Type Name Description
    NeoFpsInputActions.IInventoryActions instance

    Callback instance.

    Remarks

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

    See Also
    NeoFpsInputActions.InventoryActions

    Disable()

    Declaration
    public void Disable()

    Enable()

    Declaration
    public void Enable()

    Get()

    Provides access to the underlying input action map instance.

    Declaration
    public InputActionMap Get()
    Returns
    Type Description
    InputActionMap

    RemoveCallbacks(NeoFpsInputActions.IInventoryActions)

    Unregisters and unregisters all input action callbacks via NeoFPS.NeoFpsInputActions.InventoryActions.UnregisterCallbacks(NeoFPS.NeoFpsInputActions.IInventoryActions).

    Declaration
    public void RemoveCallbacks(NeoFpsInputActions.IInventoryActions instance)
    Parameters
    Type Name Description
    NeoFpsInputActions.IInventoryActions instance
    See Also
    NeoFPS.NeoFpsInputActions.InventoryActions.UnregisterCallbacks(NeoFPS.NeoFpsInputActions.IInventoryActions)

    SetCallbacks(NeoFpsInputActions.IInventoryActions)

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

    Declaration
    public void SetCallbacks(NeoFpsInputActions.IInventoryActions instance)
    Parameters
    Type Name Description
    NeoFpsInputActions.IInventoryActions instance
    Remarks

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

    See Also
    AddCallbacks(NeoFpsInputActions.IInventoryActions)
    RemoveCallbacks(NeoFpsInputActions.IInventoryActions)
    NeoFPS.NeoFpsInputActions.InventoryActions.UnregisterCallbacks(NeoFPS.NeoFpsInputActions.IInventoryActions)

    Operators

    Implicit(NeoFpsInputActions.InventoryActions to InputActionMap)

    Implicitly converts an to an instance.

    Declaration
    public static implicit operator InputActionMap(NeoFpsInputActions.InventoryActions set)
    Parameters
    Type Name Description
    NeoFpsInputActions.InventoryActions set
    Returns
    Type Description
    InputActionMap
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX