Example #1
0
 public static void SaveFromList(List <string> mods)
 {
     DirectXmlSaver.SaveDataObject(new ModsConfigData
     {
         version         = VersionControl.CurrentVersionStringWithRev,
         activeMods      = mods,
         knownExpansions = data.knownExpansions
     }, GenFilePaths.ModsConfigFilePath);
 }
Example #2
0
 public static void Save()
 {
     DirectXmlSaver.SaveDataObject(ModsConfig.data, GenFilePaths.ModsConfigFilePath);
 }
Example #3
0
 public static void Save()
 {
     data.version = VersionControl.CurrentVersionStringWithRev;
     DirectXmlSaver.SaveDataObject(data, GenFilePaths.ModsConfigFilePath);
 }