Remove RemovePlaylistItem() server method for the time being

This commit is contained in:
Dan Balasescu
2021-11-16 12:08:53 +09:00
parent 459e819a5d
commit f0593115b2
4 changed files with 0 additions and 26 deletions

View File

@ -330,16 +330,6 @@ namespace osu.Game.Tests.Visual.Multiplayer
}
}
public override Task RemovePlaylistItem(long playlistItemId)
{
Debug.Assert(Room != null);
if (Room.Host?.UserID != LocalUser?.UserID)
throw new InvalidOperationException("Local user is not the room host.");
return ((IMultiplayerClient)this).PlaylistItemRemoved(playlistItemId);
}
protected override Task<APIBeatmapSet> GetOnlineBeatmapSet(int beatmapId, CancellationToken cancellationToken = default)
{
Debug.Assert(Room != null);