Example #1
0
        public void Save(AIRActiveMods CurrentActiveMods)
        {
            ActiveClass = CurrentActiveMods;
            string output = Newtonsoft.Json.JsonConvert.SerializeObject(CurrentActiveMods, Newtonsoft.Json.Formatting.Indented);

            File.WriteAllText(ConfigPath, output);
        }
Example #2
0
 public ActiveModsList(AIRActiveMods data, string path)
 {
     ActiveClass = data;
     ConfigPath  = path;
 }