예제 #1
0
 /// <summary>
 ///   Sets up the paths for this game mode.
 /// </summary>
 protected override void SetupPaths()
 {
     base.SetupPaths();
     AdditionalPaths["PluginsFile"] =
         Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "FalloutNV/plugins.txt");
     AdditionalPaths.Remove("DLCDir");
 }
예제 #2
0
 public MainViewModel()
 {
     AdditionalPaths = Properties.UserSettings.Default.AdditionalPaths.Split(';').ToList();
     AdditionalPaths.Add("New path...");
     Refresh();
 }
예제 #3
0
 internal void SaveUserSetting()
 {
     Properties.UserSettings.Default.AdditionalPaths = string.Join(";", AdditionalPaths.Where(p => p != "New path..."));
     Properties.UserSettings.Default.Save();
 }