Recipe Catalog

How to save and load the recipe catalog.

circle-info

Relevant Inventool namespaces:

  • Esper.Inventool

  • Esper.Inventool.DataManagement

  • Esper.Inventool.CraftingSystem

Saving

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

SavableObjectList<Recipe> savableRecipes = myRecipeCatalog.ToSavable();

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

Loading

Use the FromSavable recipe catalog method and pass the SavableObjectList<Recipe> object to deconvert and set the data.

myRecipeCatalog.FromSavable(savableRecipes);

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

Last updated