public void ListenerCallPatchStageChanged(PatchStage stage) { if (Listener != null) { try { Listener.PatchStageChanged(stage); } catch { } } }
public PatchIntercomms(SimplePatchTool patcher, string rootPath) { Patcher = patcher; RootPath = rootPath; logs = new Queue <string>(); progress = null; DownloadManager = new PatchDownloadManager(this); Cancel = false; SilentMode = false; LogProgress = true; LogToFile = true; VerifyFiles = false; Stage = PatchStage.CheckingUpdates; FailReason = PatchFailReason.None; FailDetails = null; }
void SimplePatchTool.IListener.PatchStageChanged(PatchStage stage) { pendingStage = stage; }