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

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