private void CheckboxRunCombatSimulations_Unchecked(object sender, RoutedEventArgs e) { if (!_initialized) { return; } Config.Instance.RunBobsBuddy = false; CheckboxShowResultsDuringCombat.IsEnabled = false; CheckboxShowResultsDuringShopping.IsEnabled = false; SaveConfig(true); if (Core.Game.IsBattlegroundsMatch) { Core.Overlay.HideBobsBuddyPanel(); } Influx.OnBobsBuddyEnabledChanged(false); }
private void CheckboxRunCombatSimulations_Checked(object sender, RoutedEventArgs e) { if (!_initialized) { return; } Config.Instance.RunBobsBuddy = true; CheckboxShowResultsDuringCombat.IsEnabled = true; CheckboxShowResultsDuringShopping.IsEnabled = true; SaveConfig(true); if (Core.Game.CurrentGameMode == Enums.GameMode.Battlegrounds) { Core.Overlay.ShowBobsBuddyPanel(); } Influx.OnBobsBuddyEnabledChanged(true); }