/// <summary>
        /// 방에 플레이어를 입장시킵니다.
        /// </summary>
        /// <param name="room"></param>
        /// <param name="player"></param>
        /// <returns></returns>
        public bool JoinRoom(string roomKey, MNetworkPlayer player)
        {
            MNetworkRoom room = FindRoom(roomKey);

            if (room == null)
            {
                return(false);
            }

            if (player.RoomKey != string.Empty)
            {
                FindRoom(player.RoomKey).LeavePlayer(player.Serial);
            }

            room.JoinPlayer(player);

            return(true);
        }
        /// <summary>
        /// 방에 플레이어를 입장시킵니다.
        /// </summary>
        /// <param name="room"></param>
        /// <param name="player"></param>
        /// <returns></returns>
        public bool JoinRoom(string roomKey, string playerKey, out MNetworkRoom room)
        {
            MNetworkPlayer player = FindPlayer(playerKey);
            MNetworkRoom   r      = FindRoom(roomKey);

            room = r;

            if (r == null || player == null)
            {
                return(false);
            }

            if (player.RoomKey != string.Empty)
            {
                FindRoom(player.RoomKey).LeavePlayer(player.Serial);
            }

            r.JoinPlayer(player);

            return(true);
        }