// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Game.Online.Matchmaking; using osu.Game.Screens.OnlinePlay.Matchmaking.Queue; using osu.Game.Tests.Visual.Multiplayer; namespace osu.Game.Tests.Visual.Matchmaking { public partial class TestSceneMatchmakingPoolSelector : MultiplayerTestScene { public override void SetUpSteps() { base.SetUpSteps(); AddStep("add selector", () => Child = new PoolSelector { Anchor = Anchor.Centre, Origin = Anchor.Centre, AvailablePools = { Value = [ new MatchmakingPool { Id = 0, RulesetId = 0, Name = "osu!" }, new MatchmakingPool { Id = 1, RulesetId = 1, Name = "osu!taiko" }, new MatchmakingPool { Id = 2, RulesetId = 2, Name = "osu!catch" }, new MatchmakingPool { Id = 3, RulesetId = 3, Variant = 4, Name = "osu!mania (4k)" }, new MatchmakingPool { Id = 4, RulesetId = 3, Variant = 7, Name = "osu!mania (7k)" }, ] } }); } } }