//直接发送小结算 public static void SamllResultsFollow(this FiveStarRoom fiveStarRoom, int[] huCardSeatIndexs) { //发送小结算信息 fiveStarRoom.SendSamllResults(); //如果是匹配服直接销毁房间 if (fiveStarRoom.RoomType == RoomType.Match) { fiveStarRoom.Dispose(); return; } //算出下局最先摸牌的玩家索引 和4人房休息玩家索引 fiveStarRoom.CalcuateFirstMoCardAndRestPlayerSeat(huCardSeatIndexs); fiveStarRoom.LittleRoundClearData();//如果是房卡模式 正常打下去 清空一下小局应该清空的数据 //房间总结算 if (fiveStarRoom.JudgeIsRoomTotalResult()) { fiveStarRoom.RoomTotalResult();//如果进入总结算 房间直接就销毁了 return; } fiveStarRoom.CurrRoomStateType = RoomStateType.ReadyIn;//更改房间游戏状态为准备中 //所有玩家取消托管 for (int i = 0; i < fiveStarRoom.FiveStarPlayerDic.Count; i++) { fiveStarRoom.FiveStarPlayerDic[i].SetCollocation(false); } }