Class InventorySerializableData
Serializable data structure that contains the state of an inventory.
Namespace: UnityEngine .GameFoundation .DataPersistence
Assembly: solution.dll
Syntax
[Serializable]
public class InventorySerializableData
Constructors
Name | Description |
---|---|
Inventory |
Default constructor for serialization purpose |
Inventory |
Basic constructor that takes in an inventory definition id and an array of InventoryItemData of all inventory items contained in the inventory. |
Properties
Name | Description |
---|---|
definition |
The definition Id of the inventory |
display |
The friendly name of the inventory that will be displayed |
game |
The GameItemId of the item use by GameItemLookup |
inventory |
The inventory id of the inventory |
items | The items this inventory contains |