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