Inventory

Inventory-based shops and storages are no different!

circle-info

Relevant Inventool namespaces:

  • Esper.Inventool

  • Esper.Inventool.DataManagement

Saving

Use the ToSavable inventory method to convert the data into a savable format.

SavableInventory savableInventory = myInventory.ToSavable();

Use an external save system to save this object. See Example.

Loading

Use the FromSavable inventory method and pass the SavableInventory object to deconvert and set the data.

myInventory.FromSavable(savableInventory);

Use an external save system to load this object. See Example.

Last updated