mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 15:33:05 +08:00
Rename QueueList -> MultiplayerQueueList
This commit is contained in:
parent
01108016a7
commit
bfd2dc28c8
@ -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)
|
||||
|
@ -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,
|
||||
|
@ -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> 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)
|
||||
{
|
||||
}
|
Loading…
Reference in New Issue
Block a user