public void Save(string accountPath) { JSON.Serialize(accountPath + @"\Inventory.json", this); }
public void Save() { Debug.Log("[Database] Saving " + _Skills.Count.ToString() + " skills to Database", ConsoleColor.Cyan); JSON.Serialize(Path.DatabaseDirectory + "SkillDatabase.json", this); Debug.Log("[Database] Saved Skill Database", DebugColors.SavedColor); }
public void Save() { Debug.Log("[Database] Saving " + _ItemDatabase.Count.ToString() + " items to Database", ConsoleColor.Cyan); JSON.Serialize(Path.ItemDatabaseDirectory + "ItemDatabase.json", this); Debug.Log("[Database] Saved Item Database", DebugColors.SavedColor); }