Class InventoryManagerSerializableData
Serializable data structure that contains the state of the InventoryManager.
Implements
Namespace: UnityEngine.GameFoundation.DataPersistence
Assembly: solution.dll
Syntax
[Serializable]
public class InventoryManagerSerializableData : ISerializableData
Constructors
| Name | Description |
|---|---|
| InventoryManagerSerializableData() | Default constructor for serialization purpose. |
| InventoryManagerSerializableData(InventorySerializableData[]) | Basic constructor that takes in an array of InventoryData of all runtime inventories. |
Properties
| Name | Description |
|---|---|
| inventories | Return the data of all runtime inventories |
Methods
| Name | Description |
|---|---|
| GetInventory(string) | Return the data of the Inventory using the specified definition id |