// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Threading.Tasks; namespace osu.Game.Online.RealtimeMultiplayer { /// /// An interface defining the spectator server instance. /// public interface IMultiplayerServer { /// /// Request to join a multiplayer room. /// /// The databased room ID. /// Whether the room could be joined. Task JoinRoom(long roomId); /// /// Request to leave the currently joined room. /// Task LeaveRoom(); } }