Пример #1
0
 /// <summary>
 /// 判断是否所有玩家都摊牌了
 /// </summary>
 /// <param name="self"></param>
 /// <returns></returns>
 public static bool IsShowCardAll(this DeckComponent self)
 {
     return(self.ShowCardDic.Count == self.GetParent <Room>().roomConfig.PlayerCount);
 }
Пример #2
0
 /// <summary>
 /// 判断是否所有玩家都抢庄完了
 /// </summary>
 /// <param name="self"></param>
 /// <returns></returns>
 public static bool IsRobBankerAll(this DeckComponent self)
 {
     return(self.RobBankerDic.Count == self.GetParent <Room>().roomConfig.PlayerCount);
 }