mirror of
https://github.com/ppy/osu
synced 2025-01-11 16:49:39 +00: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.
|
||||
/// </summary>
|
||||
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…
Reference in New Issue
Block a user