mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 01:37:46 +08:00
Add missing methods to server interface
This commit is contained in:
parent
5f5c0d5533
commit
71de7ce0a3
@ -18,5 +18,17 @@ namespace osu.Game.Online.RealtimeMultiplayer
|
|||||||
/// Request to leave the currently joined room.
|
/// Request to leave the currently joined room.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Task LeaveRoom();
|
Task LeaveRoom();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Transfer the host of the currently joined room to another user in the room.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="userId">The new user which is to become host.</param>
|
||||||
|
Task TransferHost(long userId);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// As the host, update the settings of the currently joined room.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="settings">The new settings to apply.</param>
|
||||||
|
Task ChangeSettings(MultiplayerRoomSettings settings);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user