void SaveConfig() { return; GTAVConfig save = new GTAVConfig(); string output = JsonConvert.SerializeObject(save, Formatting.Indented); File.WriteAllText(saveFilename, output); }
void LoadConfig() { return; if (File.Exists(saveFilename)) { string text = File.ReadAllText(saveFilename); GTAVConfig config = JsonConvert.DeserializeObject <GTAVConfig>(text); } }