Struct InventoryItemSerializableData
Serializable data structure that contains the state of an inventory item.
Namespace: UnityEngine.GameFoundation.DataPersistence
Assembly: solution.dll
Syntax
[Serializable]
public struct InventoryItemSerializableData
Constructors
Name | Description |
---|---|
InventoryItemSerializableData(string, string, int, int) | Basic constructor that takes in the inventory item definition Id of the item and the quantity it have in this inventory. |
Fields
Name | Description |
---|---|
definitionId | The definition Id of the inventory item |
gameItemId | The GameItemId of the item use by GameItemLookup |
inventoryId | The Id of the inventory the item belongs to. |
quantity | The quantity of the inventory item in the inventory. |