Class InventoryItemSerializableData
Serializable data structure that contains the state of an inventory item.
Namespace: UnityEngine.GameFoundation.DataPersistence
Assembly: solution.dll
Syntax
[Serializable]
public class InventoryItemSerializableData
Constructors
| Name | Description |
|---|---|
| InventoryItemSerializableData() | Default constructor for serialization purpose. |
| InventoryItemSerializableData(string, int, int) | Basic constructor that takes in the inventory item definition Id of the item and the quantity it have in this inventory. |
Properties
| Name | Description |
|---|---|
| definitionId | The definition Id of the inventory item |
| gameItemLookupId | The GameItemId of the item use by GameItemLookup |
| quantity | The quantity of the inventory item in the inventory. |