Add missing methods to server interface

This commit is contained in:
Dean Herbert 2020-12-08 16:32:45 +09:00
parent 5f5c0d5533
commit 71de7ce0a3

View File

@ -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);
}
}
}