⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Interface IQuickSlots

    Namespace: NeoFPS
    Assembly: NeoFPS.dll
    Syntax
    public interface IQuickSlots

    Properties

    backupSlot

    Declaration
    IQuickSlotItem backupSlot { get; }
    Property Value
    Type Description
    IQuickSlotItem

    isBackupItemSelected

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

    isLocked

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

    numSlots

    Declaration
    int numSlots { get; }
    Property Value
    Type Description
    System.Int32

    selected

    Declaration
    IQuickSlotItem selected { get; }
    Property Value
    Type Description
    IQuickSlotItem

    Methods

    AutoSwitchSlot(Int32)

    Declaration
    void AutoSwitchSlot(int slot)
    Parameters
    Type Name Description
    System.Int32 slot

    ClearSlots()

    Declaration
    void ClearSlots()

    DropAllWieldables()

    Declaration
    void DropAllWieldables()

    DropItem(IQuickSlotItem)

    Declaration
    void DropItem(IQuickSlotItem item)
    Parameters
    Type Name Description
    IQuickSlotItem item

    DropSelected()

    Declaration
    void DropSelected()

    GetSlotItem(Int32)

    Declaration
    IQuickSlotItem GetSlotItem(int slot)
    Parameters
    Type Name Description
    System.Int32 slot
    Returns
    Type Description
    IQuickSlotItem

    IsSlotSelectable(Int32)

    Declaration
    bool IsSlotSelectable(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Boolean

    LockSelectionToBackupItem(Object, Boolean)

    Declaration
    bool LockSelectionToBackupItem(Object o, bool silent)
    Parameters
    Type Name Description
    Object o
    System.Boolean silent
    Returns
    Type Description
    System.Boolean

    LockSelectionToNothing(Object, Boolean)

    Declaration
    bool LockSelectionToNothing(Object o, bool silent)
    Parameters
    Type Name Description
    Object o
    System.Boolean silent
    Returns
    Type Description
    System.Boolean

    LockSelectionToSlot(Int32, Object)

    Declaration
    bool LockSelectionToSlot(int index, Object o)
    Parameters
    Type Name Description
    System.Int32 index
    Object o
    Returns
    Type Description
    System.Boolean

    SelectBackupItem(Boolean, Boolean)

    Declaration
    bool SelectBackupItem(bool toggle, bool silent)
    Parameters
    Type Name Description
    System.Boolean toggle
    System.Boolean silent
    Returns
    Type Description
    System.Boolean

    SelectNextSlot()

    Declaration
    bool SelectNextSlot()
    Returns
    Type Description
    System.Boolean

    SelectPreviousSlot()

    Declaration
    bool SelectPreviousSlot()
    Returns
    Type Description
    System.Boolean

    SelectSlot(Int32)

    Declaration
    bool SelectSlot(int slot)
    Parameters
    Type Name Description
    System.Int32 slot
    Returns
    Type Description
    System.Boolean

    SelectStartingSlot()

    Declaration
    bool SelectStartingSlot()
    Returns
    Type Description
    System.Boolean

    SetSlotItem(Int32, IQuickSlotItem)

    Declaration
    void SetSlotItem(int slot, IQuickSlotItem item)
    Parameters
    Type Name Description
    System.Int32 slot
    IQuickSlotItem item

    SwitchSelection()

    Declaration
    bool SwitchSelection()
    Returns
    Type Description
    System.Boolean

    UnlockSelection(Object)

    Declaration
    void UnlockSelection(Object o)
    Parameters
    Type Name Description
    Object o

    Events

    onItemDropped

    Declaration
    event UnityAction<IQuickSlotItem> onItemDropped
    Event Type
    Type Description
    UnityAction<IQuickSlotItem>

    onSelectionChanged

    Declaration
    event UnityAction<int, IQuickSlotItem> onSelectionChanged
    Event Type
    Type Description
    UnityAction<System.Int32, IQuickSlotItem>

    onSlotItemChanged

    Declaration
    event UnityAction<int, IQuickSlotItem> onSlotItemChanged
    Event Type
    Type Description
    UnityAction<System.Int32, IQuickSlotItem>
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX