Search Results for

    Show / Hide Table of Contents

    Class InventoryItem

    Inheritance
    object
    InventoryItem
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: LobsterFramework.Interaction
    Assembly: LobsterFramework.dll
    Syntax
    [Serializable]
    public class InventoryItem

    Fields

    | Improve this Doc View Source

    itemData

    Declaration
    public Item itemData
    Field Value
    Type Description
    Item

    Properties

    | Improve this Doc View Source

    IsComsumable

    Declaration
    public bool IsComsumable { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    Quantity

    Declaration
    public int Quantity { get; set; }
    Property Value
    Type Description
    int

    Methods

    | Improve this Doc View Source

    AddItem(InventoryItem)

    Declaration
    public void AddItem(InventoryItem itemToAdd)
    Parameters
    Type Name Description
    InventoryItem itemToAdd
    | Improve this Doc View Source

    Clone()

    Declaration
    public InventoryItem Clone()
    Returns
    Type Description
    InventoryItem
    | Improve this Doc View Source

    Consume(Inventory)

    Attempt to apply consume effect if this item

    Declaration
    public void Consume(Inventory inventory)
    Parameters
    Type Name Description
    Inventory inventory
    • Improve this Doc
    • View Source
    In This Article
    Back to top LobsterFramework documentation