Ejemplo n.º 1
0
        public void InterruptCharactor()
        {
            var RelatedCharState = playerEntity.stateInterface.State;

            RelatedCharState.InterruptAction();
            RelatedCharState.InterruptSwitchWeapon();
            RelatedCharState.ForceBreakSpecialReload(null);
            RelatedCharState.ForceFinishGrenadeThrow();
            PlayerStateUtil.AddPlayerState(EPlayerGameState.InterruptItem, playerEntity.gamePlay);
            if (playerEntity.hasThrowingAction)
            {
                playerEntity.throwingAction.ActionInfo.ClearState();
            }
        }
Ejemplo n.º 2
0
        public void InterruptCharactor()
        {
            var RelatedCharState = playerEntity.stateInterface.State;

            RelatedCharState.InterruptAction();
            RelatedCharState.InterruptSwitchWeapon();
            RelatedCharState.ForceBreakSpecialReload(null);
            RelatedCharState.ForceFinishGrenadeThrow();
            playerEntity.AudioController().StopPullBoltAudio();
            PlayerStateUtil.AddPlayerState(EPlayerGameState.InterruptItem, playerEntity.gamePlay);
            if (playerEntity.hasThrowingAction)
            {
                playerEntity.throwingAction.ActionData.InternalCleanUp();
            }
        }