Class Inventory
Inheritance
System.Object
Inventory
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class Inventory : object
Properties
Items
The items in this inventory
Declaration
public List<InventoryItem> Items { get; }
Property Value
Type | Description |
---|---|
List<InventoryItem> |
Methods
Add(InventoryItem)
Add an InventoryItem to this Inventory.
Declaration
public void Add(InventoryItem slot)
Parameters
Type | Name | Description |
---|---|---|
InventoryItem | slot | The item to add. |
Clear()
Clear this Inventory.
Declaration
public void Clear()
Remove(InventoryItem)
Remove an InventoryItem from this Inventory.
Declaration
public void Remove(InventoryItem slot)
Parameters
Type | Name | Description |
---|---|---|
InventoryItem | slot | The item to remove. |