public void OnHandInit(SetInitialHand _hand) { for (int card = 0; card < 5; card++) { int cardId = _hand.Cards[card].CardId; Dispatcher.Default.Post(new CardDisplayRequest(card, _hand.Index, cardId)); } }
public void OnHandEstablished(SetInitialHand hand) { if (hand.Index == Index) { WinText.text = hand.WinText; for (int card = 0; card < 5; card++) { Dispatcher.Default.Post(new CardDisplayRequest(card, Index, hand.Cards[card].CardId)); } } }