Character Stats

How to save and load character stats.

circle-info

Relevant Inventool namespaces:

  • Esper.Inventool

  • Esper.Inventool.DataManagement

Saving

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

SavableProfile savableProfile = myCharacterStats.ToSavable();

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

Loading

Use the FromSavable character stats method and pass the SavableProfile object to deconvert and set the data.

myCharacterStats.FromSavable(savableProfile);

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

Last updated