static bool CheckCrashedFroze(Alarm alarm) { try { if (alarm == null) throw new ArgumentNullException("alarm"); } catch (ArgumentNullException ex) { Helpers.Debug.Report(ex); } return false; }
static void ProcessAlarm(Alarm alarm) { if (alarm.FocusClient) FocusClient(); if (alarm.PlaySound) PlaySound(alarm.AlertType); if (alarm.PauseBot) PauseBot(); if (alarm.Disconnect) Disconnect(); }
static bool CheckPlayerAttacking(Alarm alarm) { try { if (alarm == null) throw new ArgumentNullException("alarm"); } catch (ArgumentNullException ex) { Helpers.Debug.Report(ex); } return false; }
internal AlertsSafeList(Alarm alarm) { InitializeComponent(); SafeListListBox.ItemsSource = alarm.SafeList; _alarm = alarm; }