From bfd2dc28c896e109926f8111bb7891e7ccf1234b Mon Sep 17 00:00:00 2001 From: Dan Balasescu Date: Wed, 1 Dec 2021 16:56:32 +0900 Subject: [PATCH] Rename QueueList -> MultiplayerQueueList --- .../Visual/Multiplayer/TestSceneMultiplayerPlaylist.cs | 8 ++++---- .../Visual/Multiplayer/TestSceneMultiplayerQueueList.cs | 4 ++-- .../Playlist/{QueueList.cs => MultiplayerQueueList.cs} | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) rename osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/{QueueList.cs => MultiplayerQueueList.cs} (96%) diff --git a/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerPlaylist.cs b/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerPlaylist.cs index 3244e9420d..977a6f0115 100644 --- a/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerPlaylist.cs +++ b/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerPlaylist.cs @@ -74,7 +74,7 @@ namespace osu.Game.Tests.Visual.Multiplayer public class MultiplayerPlaylist : MultiplayerRoomComposite { - private QueueList queueList; + private MultiplayerQueueList multiplayerQueueList; private DrawableRoomPlaylist historyList; private bool firstPopulation = true; @@ -88,7 +88,7 @@ namespace osu.Game.Tests.Visual.Multiplayer { new Drawable[] { - queueList = new QueueList(false, false, true) + multiplayerQueueList = new MultiplayerQueueList(false, false, true) { RelativeSizeAxes = Axes.Both }, @@ -123,14 +123,14 @@ namespace osu.Game.Tests.Visual.Multiplayer if (item.Expired) historyList.Items.Add(getPlaylistItem(item)); else - queueList.Items.Add(getPlaylistItem(item)); + multiplayerQueueList.Items.Add(getPlaylistItem(item)); } protected override void PlaylistItemRemoved(long item) { base.PlaylistItemRemoved(item); - queueList.Items.RemoveAll(i => i.ID == item); + multiplayerQueueList.Items.RemoveAll(i => i.ID == item); } protected override void PlaylistItemChanged(MultiplayerPlaylistItem item) diff --git a/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerQueueList.cs b/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerQueueList.cs index 83c611e325..2186d2e594 100644 --- a/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerQueueList.cs +++ b/osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerQueueList.cs @@ -17,13 +17,13 @@ namespace osu.Game.Tests.Visual.Multiplayer { public class TestSceneMultiplayerQueueList : OsuTestScene { - private QueueList list; + private MultiplayerQueueList list; private int currentItemId; [SetUp] public void Setup() => Schedule(() => { - Child = list = new QueueList(false, false) + Child = list = new MultiplayerQueueList(false, false) { Anchor = Anchor.Centre, Origin = Anchor.Centre, diff --git a/osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/QueueList.cs b/osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/MultiplayerQueueList.cs similarity index 96% rename from osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/QueueList.cs rename to osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/MultiplayerQueueList.cs index a783e66ee6..de3ad7b824 100644 --- a/osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/QueueList.cs +++ b/osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/MultiplayerQueueList.cs @@ -13,11 +13,11 @@ using osuTK; namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match.Playlist { - public class QueueList : DrawableRoomPlaylist + public class MultiplayerQueueList : DrawableRoomPlaylist { public readonly Bindable QueueMode = new Bindable(); - public QueueList(bool allowEdit, bool allowSelection, bool reverse = false) + public MultiplayerQueueList(bool allowEdit, bool allowSelection, bool reverse = false) : base(allowEdit, allowSelection, reverse) { }