Class InventoryItem
An InventoryItem that goes into an Inventory. InventoryItems should only exist inside Inventories.
Inheritance
Inherited Members
Namespace: UnityEngine .GameFoundation
Assembly: solution.dll
Syntax
public class InventoryItem : BaseItem<InventoryDefinition, Inventory, InventoryItemDefinition, InventoryItem>
Properties
Name | Description |
---|---|
int |
The integer value associated with this Item, usually signifying quantity of Items in a Collection. |
inventory | The Inventory that this InventoryItem belongs to. |
quantity | Quantity contained in this Inventory for this InventoryItem. |
Methods
Name | Description |
---|---|
Custom |
Synchronize this item deletion with the data access layer. |
Set |
Sets the quantity of this InventoryItem. |