Пример #1
0
 public DealDto(List <CardDto> cards, int uid)
 {
     this.SelectCardList = cards;
     this.Length         = cards.Count;
     this.Type           = CardHelper.GetCardType(cards);
     this.Weight         = CardHelper.GetWeight(cards, this.Type);
     this.UsetId         = uid;
     this.IsRegular      = (this.Type != CardType.None);
 }