1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:42:56 +08:00

Rename QueueList -> MultiplayerQueueList

This commit is contained in:
Dan Balasescu 2021-12-01 16:56:32 +09:00
parent 01108016a7
commit bfd2dc28c8
3 changed files with 8 additions and 8 deletions

View File

@ -74,7 +74,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
public class MultiplayerPlaylist : MultiplayerRoomComposite public class MultiplayerPlaylist : MultiplayerRoomComposite
{ {
private QueueList queueList; private MultiplayerQueueList multiplayerQueueList;
private DrawableRoomPlaylist historyList; private DrawableRoomPlaylist historyList;
private bool firstPopulation = true; private bool firstPopulation = true;
@ -88,7 +88,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
{ {
new Drawable[] new Drawable[]
{ {
queueList = new QueueList(false, false, true) multiplayerQueueList = new MultiplayerQueueList(false, false, true)
{ {
RelativeSizeAxes = Axes.Both RelativeSizeAxes = Axes.Both
}, },
@ -123,14 +123,14 @@ namespace osu.Game.Tests.Visual.Multiplayer
if (item.Expired) if (item.Expired)
historyList.Items.Add(getPlaylistItem(item)); historyList.Items.Add(getPlaylistItem(item));
else else
queueList.Items.Add(getPlaylistItem(item)); multiplayerQueueList.Items.Add(getPlaylistItem(item));
} }
protected override void PlaylistItemRemoved(long item) protected override void PlaylistItemRemoved(long item)
{ {
base.PlaylistItemRemoved(item); base.PlaylistItemRemoved(item);
queueList.Items.RemoveAll(i => i.ID == item); multiplayerQueueList.Items.RemoveAll(i => i.ID == item);
} }
protected override void PlaylistItemChanged(MultiplayerPlaylistItem item) protected override void PlaylistItemChanged(MultiplayerPlaylistItem item)

View File

@ -17,13 +17,13 @@ namespace osu.Game.Tests.Visual.Multiplayer
{ {
public class TestSceneMultiplayerQueueList : OsuTestScene public class TestSceneMultiplayerQueueList : OsuTestScene
{ {
private QueueList list; private MultiplayerQueueList list;
private int currentItemId; private int currentItemId;
[SetUp] [SetUp]
public void Setup() => Schedule(() => public void Setup() => Schedule(() =>
{ {
Child = list = new QueueList(false, false) Child = list = new MultiplayerQueueList(false, false)
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,

View File

@ -13,11 +13,11 @@ using osuTK;
namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match.Playlist namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match.Playlist
{ {
public class QueueList : DrawableRoomPlaylist public class MultiplayerQueueList : DrawableRoomPlaylist
{ {
public readonly Bindable<QueueMode> QueueMode = new Bindable<QueueMode>(); public readonly Bindable<QueueMode> QueueMode = new Bindable<QueueMode>();
public QueueList(bool allowEdit, bool allowSelection, bool reverse = false) public MultiplayerQueueList(bool allowEdit, bool allowSelection, bool reverse = false)
: base(allowEdit, allowSelection, reverse) : base(allowEdit, allowSelection, reverse)
{ {
} }