Exemplo n.º 1
0
        /// <summary>
        /// 不出牌
        /// </summary>
        /// <param name="clientPeer">客户端连接对象</param>
        private void Pass(ClientPeer clientPeer)
        {
            int            aid  = accountCache.GetId(clientPeer);
            int            uid  = userModelCache.GetModelByAccid(aid).Id;
            FightRoomModel room = fightRoomCache.GetFightRoomByUid(uid);

            if (room.GetCurBiggstPlayerId() == uid)
            {
            }
            else
            {
                //转换出牌者
                Turn(room, uid);
            }
        }