示例#1
0
        private static void get_ActionBarSkills()
        {
            try
            {
                A_Collection.Preferences.Hotkeys.Key1_ActionBarSkill1    = Hotkey.Get(HotkeyIndex.ActionBarSkill1).PrimaryGesture.Key;
                A_Collection.Preferences.Hotkeys.ModKey1_ActionBarSkill1 = Hotkey.Get(HotkeyIndex.ActionBarSkill1).PrimaryGesture.Modifiers;

                A_Collection.Preferences.Hotkeys.Key1_ActionBarSkill2    = Hotkey.Get(HotkeyIndex.ActionBarSkill2).PrimaryGesture.Key;
                A_Collection.Preferences.Hotkeys.ModKey1_ActionBarSkill2 = Hotkey.Get(HotkeyIndex.ActionBarSkill2).PrimaryGesture.Modifiers;

                A_Collection.Preferences.Hotkeys.Key1_ActionBarSkill3    = Hotkey.Get(HotkeyIndex.ActionBarSkill3).PrimaryGesture.Key;
                A_Collection.Preferences.Hotkeys.ModKey1_ActionBarSkill3 = Hotkey.Get(HotkeyIndex.ActionBarSkill3).PrimaryGesture.Modifiers;

                A_Collection.Preferences.Hotkeys.Key1_ActionBarSkill4    = Hotkey.Get(HotkeyIndex.ActionBarSkill4).PrimaryGesture.Key;
                A_Collection.Preferences.Hotkeys.ModKey1_ActionBarSkill4 = Hotkey.Get(HotkeyIndex.ActionBarSkill4).PrimaryGesture.Modifiers;

                A_Collection.Preferences.Hotkeys.Key2_ActionBarSkill1    = Hotkey.Get(HotkeyIndex.ActionBarSkill1).SecondaryGesture.Key;
                A_Collection.Preferences.Hotkeys.ModKey2_ActionBarSkill1 = Hotkey.Get(HotkeyIndex.ActionBarSkill1).SecondaryGesture.Modifiers;

                A_Collection.Preferences.Hotkeys.Key2_ActionBarSkill2    = Hotkey.Get(HotkeyIndex.ActionBarSkill2).SecondaryGesture.Key;
                A_Collection.Preferences.Hotkeys.ModKey2_ActionBarSkill2 = Hotkey.Get(HotkeyIndex.ActionBarSkill2).SecondaryGesture.Modifiers;

                A_Collection.Preferences.Hotkeys.Key2_ActionBarSkill3    = Hotkey.Get(HotkeyIndex.ActionBarSkill3).SecondaryGesture.Key;
                A_Collection.Preferences.Hotkeys.ModKey2_ActionBarSkill3 = Hotkey.Get(HotkeyIndex.ActionBarSkill3).SecondaryGesture.Modifiers;

                A_Collection.Preferences.Hotkeys.Key2_ActionBarSkill4    = Hotkey.Get(HotkeyIndex.ActionBarSkill4).SecondaryGesture.Key;
                A_Collection.Preferences.Hotkeys.ModKey2_ActionBarSkill4 = Hotkey.Get(HotkeyIndex.ActionBarSkill4).SecondaryGesture.Modifiers;
            }
            catch (Exception e)
            {
                A_Handler.Log.Exception.addExceptionLogEntry(e, A_Enums.ExceptionThread.ICollector);
            }
        }
示例#2
0
 private static void get_SkillsWindow()
 {
     try
     {
         A_Collection.Preferences.Hotkeys.Key1_SkillsWindow    = Hotkey.Get(HotkeyIndex.ToggleSkillMenu).PrimaryGesture.Key;
         A_Collection.Preferences.Hotkeys.ModKey1_SkillsWindow = Hotkey.Get(HotkeyIndex.ToggleSkillMenu).PrimaryGesture.Modifiers;
         A_Collection.Preferences.Hotkeys.Key2_SkillsWindow    = Hotkey.Get(HotkeyIndex.ToggleSkillMenu).SecondaryGesture.Key;
         A_Collection.Preferences.Hotkeys.ModKey2_SkillsWindow = Hotkey.Get(HotkeyIndex.ToggleSkillMenu).SecondaryGesture.Modifiers;
     }
     catch (Exception e)
     {
         A_Handler.Log.Exception.addExceptionLogEntry(e, A_Enums.ExceptionThread.ICollector);
     }
 }
示例#3
0
 private static void get_Townportal()
 {
     try
     {
         A_Collection.Preferences.Hotkeys.Key1_Townportal    = Hotkey.Get(HotkeyIndex.TownPortal).PrimaryGesture.Key;
         A_Collection.Preferences.Hotkeys.ModKey1_Townportal = Hotkey.Get(HotkeyIndex.TownPortal).PrimaryGesture.Modifiers;;
         A_Collection.Preferences.Hotkeys.Key2_Townportal    = Hotkey.Get(HotkeyIndex.TownPortal).SecondaryGesture.Key;
         A_Collection.Preferences.Hotkeys.ModKey2_Townportal = Hotkey.Get(HotkeyIndex.TownPortal).SecondaryGesture.Modifiers;;
     }
     catch (Exception e)
     {
         A_Handler.Log.Exception.addExceptionLogEntry(e, A_Enums.ExceptionThread.ICollector);
     }
 }
示例#4
0
 private static void get_Potion()
 {
     try
     {
         A_Collection.Preferences.Hotkeys.Key1_Potion    = Hotkey.Get(HotkeyIndex.PotionButton).PrimaryGesture.Key;
         A_Collection.Preferences.Hotkeys.ModKey1_Potion = Hotkey.Get(HotkeyIndex.PotionButton).PrimaryGesture.Modifiers;
         A_Collection.Preferences.Hotkeys.Key2_Potion    = Hotkey.Get(HotkeyIndex.PotionButton).SecondaryGesture.Key;
         A_Collection.Preferences.Hotkeys.ModKey2_Potion = Hotkey.Get(HotkeyIndex.PotionButton).SecondaryGesture.Modifiers;
     }
     catch (Exception e)
     {
         A_Handler.Log.Exception.addExceptionLogEntry(e, A_Enums.ExceptionThread.ICollector);
     }
 }
示例#5
0
 private static void get_CloseAllWindows()
 {
     try
     {
         A_Collection.Preferences.Hotkeys.Key1_CloseAllWindows    = Hotkey.Get(HotkeyIndex.CloseAllOpenWindows).PrimaryGesture.Key;
         A_Collection.Preferences.Hotkeys.ModKey1_CloseAllWindows = Hotkey.Get(HotkeyIndex.CloseAllOpenWindows).PrimaryGesture.Modifiers;
         A_Collection.Preferences.Hotkeys.Key2_CloseAllWindows    = Hotkey.Get(HotkeyIndex.CloseAllOpenWindows).SecondaryGesture.Key;
         A_Collection.Preferences.Hotkeys.ModKey2_CloseAllWindows = Hotkey.Get(HotkeyIndex.CloseAllOpenWindows).SecondaryGesture.Modifiers;
     }
     catch (Exception e)
     {
         A_Handler.Log.Exception.addExceptionLogEntry(e, A_Enums.ExceptionThread.ICollector);
     }
 }