public static CheckConflicts ( string ModFile, bool ignoreConflicts = false ) : bool | ||
ModFile | string | |
ignoreConflicts | bool | |
Результат | bool |
public void ProcessInstallMod(string ModFile, bool ignoreConflicts = false) { var metaData = Tools.ReadMetaData(ModFile); if (metaData == null) { return; } if (!ModManager.CheckConflicts(ModFile, ignoreConflicts)) { return; } ProgressWindow.Show("Installing Mod", String.Format("Installing {0}, please wait...", metaData.Name), new Action((MethodInvoker) delegate { ModManager.InstallMod(ModFile); })); this.Invoke((MethodInvoker) delegate { RefreshInstalledMods(); }); }