public void Save(AIRActiveMods CurrentActiveMods) { ActiveClass = CurrentActiveMods; string output = Newtonsoft.Json.JsonConvert.SerializeObject(CurrentActiveMods, Newtonsoft.Json.Formatting.Indented); File.WriteAllText(ConfigPath, output); }
public ActiveModsList(AIRActiveMods data, string path) { ActiveClass = data; ConfigPath = path; }