using System;
using Server;
using Server.Data;

namespace Game.Queue {
    /// <summary>
    /// 空排队器,不处理排队,给朋友房用的
    /// </summary>
    public class EmptyQueue : IQueueControll {

        /// <summary>
        /// 所属厅
        /// </summary>
        TingManager IQueueControll.ting {
            get;
        }

        /// <summary>
        /// 最小人数
        /// </summary>
        int IQueueControll.MinCnt {
            get;
        }

        /// <summary>
        /// 最大人数
        /// </summary>
        int IQueueControll.MaxCnt {
            get;
        }

        /// <summary>
        /// 添加玩家到排队
        /// </summary>
        /// <param name="pl">玩家</param>
        /// <param name="roomid">房间id</param>
        /// <param name="deskid">桌子id</param>
        /// <returns>是否添加成功</returns>
        bool IQueueControll.AddPlayer(PlayerDataAsyc pl, int roomid, int deskid) {
            return false;
        }

        /// <summary>
        /// 处理排队
        /// </summary>
        void IQueueControll.DoQueue() {
            return;
        }

        /// <summary>
        /// 某玩家取消排队
        /// </summary>
        /// <param name="pl">玩家</param>
        /// <returns>是否取消成功</returns>
        bool IQueueControll.Cancel(PlayerDataAsyc pl) {
            return true;
        }

    }
}
