public void Start() { Logger.ATBLog(@"Starting ATB!"); if (MainSettingsModel.Instance.UseOverlay && !MainSettingsModel.Instance.HideOverlayWhenRunning) { OverlayLogic.Start(); } HotkeyManager.RegisterHotkeys(); }
public void Stop() { OverlayLogic.Stop(); FormManager.SaveFormInstances(); HotkeyManager.UnregisterAllHotkeys(); }
public void OnShutdown() { FormManager.SaveFormInstances(); HotkeyManager.UnregisterAllHotkeys(); }