// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System.Threading.Tasks; namespace osu.Game.Online.Multiplayer { /// /// Interface for an out-of-room multiplayer server. /// public interface IMultiplayerLoungeServer { /// /// Request to join a multiplayer room. /// /// The databased room ID. /// If the user is already in the requested (or another) room. /// If the room required a password. Task JoinRoom(long roomId); /// /// Request to join a multiplayer room with a provided password. /// /// The databased room ID. /// The password for the join request. /// If the user is already in the requested (or another) room. /// If the room provided password was incorrect. Task JoinRoomWithPassword(long roomId, string password); } }