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