To reset data, use the GDE Data Classes you generated. I’ll use this Warrior item to demonstrate how to modify its data.

Modifyed items will always load the modified values until reset. You can reset all fields on an item or reset specific fields.

To reset specific fields, use the Reset method. To reset all fields use ResetAll method.

GDECharacterData warrior = new GDECharacterData(GDEItemKeys.Character_Warrior);

// Reset the inventory_ids field
warrior.Reset_inventory_ids();

// Reset all fields
warrior.ResetAll();

Please note GDE no longer uses PlayerPrefs to persist modified data. To persist your data, call the new Save method when it is convenient in your game. Be sure to save as often as you need. Web builds still use PlayerPrefs (Save and ClearSaved methods have no effect).

// To persist modified data call.. 
GDEDataManager.Save();
  
// To clear any persisted data call..
GDEDataManager.ClearSaved();