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.
/// If the user is already in the requested (or another) room.
Task JoinRoom(long roomId);
///
/// Request to leave the currently joined room.
///
Task LeaveRoom();
}
}