예제 #1
0
        public static GameKeyCategory CreateCategory()
        {
            var result = new GameKeyCategory(CategoryId,
                                             (int)GameKeyEnum.NumberOfGameKeyEnums, CommandSystemGameKeyConfig.Get());

            result.AddGameKey(new GameKey((int)GameKeyEnum.SelectFormation, nameof(GameKeyEnum.SelectFormation),
                                          CategoryId, InputKey.MiddleMouseButton, CategoryId));
            return(result);
        }
        // not enabled
        public static GameKeyCategory CreateCategory()
        {
            var result = new GameKeyCategory(CategoryId,
                                             (int)GameKeyEnum.NumberOfGameKeyEnums, GameKeyConfig.Get());

            result.AddGameKey(new GameKey((int)GameKeyEnum.TogglePlayerInvulnerable, nameof(GameKeyEnum.TogglePlayerInvulnerable),
                                          CategoryId, InputKey.M, CategoryId));
            result.AddGameKey(new GameKey((int)GameKeyEnum.ToggleMapLongPress, nameof(GameKeyEnum.ToggleMapLongPress),
                                          CategoryId, InputKey.LeftAlt, CategoryId));
            return(result);
        }
        public static GameKeyCategory CreateCategory()
        {
            var result = new GameKeyCategory(CategoryId,
                                             (int)GameKeyEnum.NumberOfGameKeyEnums, GameKeyConfig.Get());

            result.AddGameKeySequence(new GameKeySequence((int)GameKeyEnum.ToggleMap, nameof(GameKeyEnum.ToggleMap),
                                                          CategoryId, new List <InputKey>
            {
                InputKey.M
            }));
            result.AddGameKeySequence(new GameKeySequence((int)GameKeyEnum.ToggleMapLongPress,
                                                          nameof(GameKeyEnum.ToggleMapLongPress),
                                                          CategoryId, new List <InputKey>
            {
                InputKey.LeftAlt
            }));
            return(result);
        }
예제 #4
0
        public static GameKeyCategory CreateCategory()
        {
            var result = new GameKeyCategory(CategoryId,
                                             (int)GameKeyEnum.NumberOfGameKeyEnums, GameKeyConfig.Get());

            result.AddGameKey(new GameKey((int)GameKeyEnum.Pause, nameof(GameKeyEnum.Pause),
                                          CategoryId, InputKey.OpenBraces, CategoryId));
            result.AddGameKey(new GameKey((int)GameKeyEnum.SlowMotion,
                                          nameof(GameKeyEnum.SlowMotion), CategoryId, InputKey.Apostrophe, CategoryId));
            result.AddGameKey(new GameKey((int)GameKeyEnum.FreeCamera,
                                          nameof(GameKeyEnum.FreeCamera), CategoryId, InputKey.F10, CategoryId));
            result.AddGameKey(new GameKey((int)GameKeyEnum.DisableDeath,
                                          nameof(GameKeyEnum.DisableDeath), CategoryId, InputKey.End, CategoryId));
            result.AddGameKey(new GameKey((int)GameKeyEnum.ControlTroop,
                                          nameof(GameKeyEnum.ControlTroop), CategoryId, InputKey.F, CategoryId));
            result.AddGameKey(new GameKey((int)GameKeyEnum.ToggleHUD, nameof(GameKeyEnum.ToggleHUD),
                                          CategoryId, InputKey.CloseBraces, CategoryId));
            result.AddGameKey(new GameKey((int)GameKeyEnum.SwitchTeam,
                                          nameof(GameKeyEnum.SwitchTeam), CategoryId, InputKey.F11, CategoryId));
            result.AddGameKey(new GameKey((int)GameKeyEnum.SelectCharacter,
                                          nameof(GameKeyEnum.SelectCharacter), CategoryId, InputKey.SemiColon, CategoryId));
            return(result);
        }