Sanguosha.Core.Games.Game.ShowHandCards C# (CSharp) Méthode

ShowHandCards() public méthode

public ShowHandCards ( Player p, List cards ) : void
p Player
cards List
Résultat void
        public void ShowHandCards(Player p, List<Card> cards)
        {
            if (cards.Count == 0) return;
            NotificationProxy.NotifyShowCardsStart(p, cards);
            Dictionary<Player, int> answers;
            GlobalProxy.AskForMultipleChoice(new MultipleChoicePrompt("ShowCards", p), new List<OptionPrompt>() { OptionPrompt.YesChoice }, AlivePlayers, out answers);
            NotificationProxy.NotifyShowCardsEnd();
            foreach (Card c in cards) Game.CurrentGame.HideHandCard(c);
        }