⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class FpsInventorySwapper

    Inheritance
    Object
    FpsInventorySwapper
    Implements
    IQuickSlotItem
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: NeoFPS
    Assembly: NeoFPS.dll
    Syntax
    public class FpsInventorySwapper : IQuickSlotItem

    Constructors

    FpsInventorySwapper(IQuickSlots, Int32, Int32)

    Declaration
    public FpsInventorySwapper(IQuickSlots owner, int index, int max)
    Parameters
    Type Name Description
    IQuickSlots owner
    System.Int32 index
    System.Int32 max

    Properties

    displayImage

    Declaration
    public Sprite displayImage { get; }
    Property Value
    Type Description
    Sprite

    gameObject

    Declaration
    public GameObject gameObject { get; }
    Property Value
    Type Description
    GameObject

    isDroppable

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

    isSelectable

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

    isSelected

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

    isUsable

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

    quickSlot

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

    slots

    Declaration
    public IQuickSlots slots { get; }
    Property Value
    Type Description
    IQuickSlots

    transform

    Declaration
    public Transform transform { get; }
    Property Value
    Type Description
    Transform

    wieldable

    Declaration
    public IWieldable wieldable { get; }
    Property Value
    Type Description
    IWieldable

    Methods

    DropItem(Vector3, Vector3, Vector3)

    Declaration
    public bool DropItem(Vector3 position, Vector3 forward, Vector3 velocity)
    Parameters
    Type Name Description
    Vector3 position
    Vector3 forward
    Vector3 velocity
    Returns
    Type Description
    System.Boolean

    GetComponent(Type)

    Declaration
    public Component GetComponent(Type t)
    Parameters
    Type Name Description
    System.Type t
    Returns
    Type Description
    Component

    GetComponent<T>()

    Declaration
    public T GetComponent<T>()
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetComponentInChildren(Type)

    Declaration
    public Component GetComponentInChildren(Type t)
    Parameters
    Type Name Description
    System.Type t
    Returns
    Type Description
    Component

    GetComponentInChildren<T>()

    Declaration
    public T GetComponentInChildren<T>()
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetComponentInParent(Type)

    Declaration
    public Component GetComponentInParent(Type t)
    Parameters
    Type Name Description
    System.Type t
    Returns
    Type Description
    Component

    GetComponentInParent<T>()

    Declaration
    public T GetComponentInParent<T>()
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetComponents(Type)

    Declaration
    public Component[] GetComponents(Type t)
    Parameters
    Type Name Description
    System.Type t
    Returns
    Type Description
    Component[]

    GetComponents<T>()

    Declaration
    public T[] GetComponents<T>()
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T

    GetComponentsInChildren(Type, Boolean)

    Declaration
    public Component[] GetComponentsInChildren(Type t, bool includeInactive = false)
    Parameters
    Type Name Description
    System.Type t
    System.Boolean includeInactive
    Returns
    Type Description
    Component[]

    GetComponentsInChildren<T>(Boolean)

    Declaration
    public T[] GetComponentsInChildren<T>(bool includeInactive = false)
    Parameters
    Type Name Description
    System.Boolean includeInactive
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T

    GetComponentsInParent(Type, Boolean)

    Declaration
    public Component[] GetComponentsInParent(Type t, bool includeInactive = false)
    Parameters
    Type Name Description
    System.Type t
    System.Boolean includeInactive
    Returns
    Type Description
    Component[]

    GetComponentsInParent<T>(Boolean)

    Declaration
    public T[] GetComponentsInParent<T>(bool includeInactive = false)
    Parameters
    Type Name Description
    System.Boolean includeInactive
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T

    GetSlotItem(Int32)

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

    OnDeselect()

    Declaration
    public Waitable OnDeselect()
    Returns
    Type Description
    Waitable

    OnDeselectInstant()

    Declaration
    public void OnDeselectInstant()

    OnSelect()

    Declaration
    public void OnSelect()

    SetSlotItem(Int32, IQuickSlotItem)

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

    UseItem()

    Declaration
    public void UseItem()

    Implements

    IQuickSlotItem
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX