/*
 * 由SharpDevelop创建。
 * 用户： Administrator
 * 日期: 2019-03-08
 * 时间: 15:09
 * 
 * 要改变这种模板请点击 工具|选项|代码编写|编辑标准头文件
 */
using System;
using Server.Data;
using MrWu.Debug;
using GameData;

namespace Server {
    /// <summary>
    /// Description of RoomManager_friend.
    /// </summary>
    public class RoomManager_Friend : RoomManager{

        /// <summary>
        /// 是否是朋友房
        /// </summary>
        public override bool isFriend => true;

        /// <summary>
        /// 构造器
        /// </summary>
        /// <param name="id">id</param>
        /// <param name="config">配置</param>
        public RoomManager_Friend(int id, Server.Config.CastlesConfig config) : base(id,config) { }

        /// <summary>
        /// 加入房间
        /// </summary>
        /// <param name="pl"></param>
        /// <param name="tingid"></param>
        /// <param name="deskid"></param>
        /// <returns></returns>
        public override bool InRoom(PlayerDataAsyc pl, int tingid, int deskid = -1) {
            return false;
        }
    }
}
