mirror of https://github.com/ppy/osu
Rename multiplayer server file to match class
This commit is contained in:
parent
b3bdaaa7b5
commit
327799c263
|
@ -1,6 +1,3 @@
|
|||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. 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
|
||||
|
@ -14,12 +11,12 @@ public interface IMultiplayerServer
|
|||
/// Request to join a multiplayer room.
|
||||
/// </summary>
|
||||
/// <param name="roomId">The databased room ID.</param>
|
||||
/// <returns>Whether the room could be joined.</returns>
|
||||
Task<bool> JoinRoom(long roomId);
|
||||
/// <exception cref="UserAlreadyInMultiplayerRoom">If the user is already in the requested (or another) room.</exception>
|
||||
Task JoinRoom(long roomId);
|
||||
|
||||
/// <summary>
|
||||
/// Request to leave the currently joined room.
|
||||
/// </summary>
|
||||
Task LeaveRoom();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue