⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Interface IInventoryItem

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

    Properties

    gameObject

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

    inventory

    Declaration
    IInventory inventory { get; }
    Property Value
    Type Description
    IInventory

    itemIdentifier

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

    maxQuantity

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

    name

    Declaration
    string name { get; }
    Property Value
    Type Description
    System.String

    owner

    Declaration
    ICharacter owner { get; }
    Property Value
    Type Description
    ICharacter

    quantity

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

    transform

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

    Methods

    GetComponent(Type)

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

    GetComponent<T>()

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

    GetComponentInChildren(Type)

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

    GetComponentInChildren<T>()

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

    GetComponentInParent(Type)

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

    GetComponentInParent<T>()

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

    GetComponents(Type)

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

    GetComponents<T>()

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

    GetComponentsInChildren(Type, Boolean)

    Declaration
    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
    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
    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
    T[] GetComponentsInParent<T>(bool includeInactive = false)
    Parameters
    Type Name Description
    System.Boolean includeInactive
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T

    OnAddToInventory(IInventory, InventoryAddResult)

    Declaration
    void OnAddToInventory(IInventory i, InventoryAddResult addResult)
    Parameters
    Type Name Description
    IInventory i
    InventoryAddResult addResult

    OnRemoveFromInventory()

    Declaration
    void OnRemoveFromInventory()

    Events

    onAddToInventory

    Declaration
    event UnityAction onAddToInventory
    Event Type
    Type Description
    UnityAction

    onQuantityChange

    Declaration
    event UnityAction onQuantityChange
    Event Type
    Type Description
    UnityAction

    onRemoveFromInventory

    Declaration
    event UnityAction onRemoveFromInventory
    Event Type
    Type Description
    UnityAction
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX