Beispiel #1
0
 /// <summary>
 /// 替换卡
 /// </summary>
 /// <param name="playerID"></param>
 /// <param name="cards"></param>
 public void ReplaceCards(int playerID, int[] cards)
 {
     // 热座模式下,先按添加播放,全部换牌完毕后再按游戏顺序播放
     if (hotSeatMode)
     {
         int to = playerID + 1;
         if (to == ItemCount)
         {
             to = itemList[0].PlayerOrder[0];
         }
         switchPrepare(playerID, to);
     }
     UberDebug.LogDebug($"用户{playerID}替换卡牌{cards.GetString()}");
     //gm.Game.initReplace(playerID, cards);
 }