2020-05-28 11:08:45 +00:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
2022-06-17 07:37:17 +00:00
|
|
|
#nullable disable
|
|
|
|
|
2020-05-28 11:08:45 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2020-07-31 12:39:50 +00:00
|
|
|
using System.Linq;
|
|
|
|
using System.Net;
|
|
|
|
using JetBrains.Annotations;
|
|
|
|
using Newtonsoft.Json.Linq;
|
2020-05-28 11:08:45 +00:00
|
|
|
using NUnit.Framework;
|
2020-07-31 12:39:50 +00:00
|
|
|
using osu.Framework.Graphics.Containers;
|
|
|
|
using osu.Framework.Testing;
|
|
|
|
using osu.Game.Graphics.Containers;
|
|
|
|
using osu.Game.Graphics.UserInterface;
|
2020-05-28 11:08:45 +00:00
|
|
|
using osu.Game.Online.API;
|
2020-07-31 12:39:50 +00:00
|
|
|
using osu.Game.Online.API.Requests;
|
2021-11-04 09:02:44 +00:00
|
|
|
using osu.Game.Online.API.Requests.Responses;
|
2020-12-25 04:38:11 +00:00
|
|
|
using osu.Game.Online.Rooms;
|
2020-05-28 11:08:45 +00:00
|
|
|
using osu.Game.Rulesets.Osu;
|
|
|
|
using osu.Game.Rulesets.Scoring;
|
|
|
|
using osu.Game.Scoring;
|
2020-12-25 15:50:00 +00:00
|
|
|
using osu.Game.Screens.OnlinePlay.Playlists;
|
2020-07-31 12:39:50 +00:00
|
|
|
using osu.Game.Screens.Ranking;
|
2020-05-28 11:08:45 +00:00
|
|
|
using osu.Game.Tests.Beatmaps;
|
2021-12-13 07:34:48 +00:00
|
|
|
using osu.Game.Tests.Resources;
|
2020-05-28 11:08:45 +00:00
|
|
|
|
2020-12-25 04:20:37 +00:00
|
|
|
namespace osu.Game.Tests.Visual.Playlists
|
2020-05-28 11:08:45 +00:00
|
|
|
{
|
2020-12-25 04:11:21 +00:00
|
|
|
public partial class TestScenePlaylistsResultsScreen : ScreenTestScene
|
2020-05-28 11:08:45 +00:00
|
|
|
{
|
2020-07-31 12:39:50 +00:00
|
|
|
private const int scores_per_result = 10;
|
2021-12-12 21:54:57 +00:00
|
|
|
private const int real_user_position = 200;
|
2020-07-31 12:39:50 +00:00
|
|
|
|
|
|
|
private TestResultsScreen resultsScreen;
|
2021-12-10 06:28:41 +00:00
|
|
|
|
2022-03-08 11:11:56 +00:00
|
|
|
private int lowestScoreId; // Score ID of the lowest score in the list.
|
|
|
|
private int highestScoreId; // Score ID of the highest score in the list.
|
|
|
|
|
2020-07-31 12:39:50 +00:00
|
|
|
private bool requestComplete;
|
2021-10-08 06:18:01 +00:00
|
|
|
private int totalCount;
|
2022-03-08 11:11:56 +00:00
|
|
|
private ScoreInfo userScore;
|
2020-06-09 09:53:55 +00:00
|
|
|
|
2022-03-15 20:38:04 +00:00
|
|
|
[SetUpSteps]
|
|
|
|
public override void SetUpSteps()
|
|
|
|
{
|
|
|
|
base.SetUpSteps();
|
|
|
|
|
2022-03-15 22:15:35 +00:00
|
|
|
// Previous test instances of the results screen may still exist at this point so wait for
|
|
|
|
// those screens to be cleaned up by the base SetUpSteps before re-initialising test state.
|
|
|
|
// The the screen also holds a leased Beatmap bindable so reassigning it must happen after
|
|
|
|
// the screen as been exited.
|
|
|
|
AddStep("initialise user scores and beatmap", () =>
|
2022-03-15 20:38:04 +00:00
|
|
|
{
|
2022-03-15 22:15:35 +00:00
|
|
|
lowestScoreId = 1;
|
|
|
|
highestScoreId = 1;
|
|
|
|
requestComplete = false;
|
|
|
|
totalCount = 0;
|
|
|
|
|
|
|
|
userScore = TestResources.CreateTestScoreInfo();
|
|
|
|
userScore.TotalScore = 0;
|
|
|
|
userScore.Statistics = new Dictionary<HitResult, int>();
|
2022-08-30 06:42:33 +00:00
|
|
|
userScore.MaximumStatistics = new Dictionary<HitResult, int>();
|
2022-03-15 22:15:35 +00:00
|
|
|
|
|
|
|
bindHandler();
|
|
|
|
|
|
|
|
// Beatmap is required to be an actual beatmap so the scores can get their scores correctly
|
|
|
|
// calculated for standardised scoring, else the tests that rely on ordering will fall over.
|
2022-03-15 20:38:04 +00:00
|
|
|
Beatmap.Value = CreateWorkingBeatmap(Ruleset.Value);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2020-05-28 11:08:45 +00:00
|
|
|
[Test]
|
2020-07-31 12:39:50 +00:00
|
|
|
public void TestShowWithUserScore()
|
2020-05-28 13:25:00 +00:00
|
|
|
{
|
2022-03-08 11:11:56 +00:00
|
|
|
AddStep("bind user score info handler", () => bindHandler(userScore: userScore));
|
2020-07-31 12:39:50 +00:00
|
|
|
|
|
|
|
createResults(() => userScore);
|
|
|
|
|
2021-12-10 06:37:12 +00:00
|
|
|
AddAssert("user score selected", () => this.ChildrenOfType<ScorePanel>().Single(p => p.Score.OnlineID == userScore.OnlineID).State == PanelState.Expanded);
|
2021-12-12 21:54:57 +00:00
|
|
|
AddAssert($"score panel position is {real_user_position}",
|
|
|
|
() => this.ChildrenOfType<ScorePanel>().Single(p => p.Score.OnlineID == userScore.OnlineID).ScorePosition.Value == real_user_position);
|
2020-05-28 13:25:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
2020-07-31 12:39:50 +00:00
|
|
|
public void TestShowNullUserScore()
|
2020-05-28 13:25:00 +00:00
|
|
|
{
|
2020-07-31 12:39:50 +00:00
|
|
|
createResults();
|
|
|
|
|
|
|
|
AddAssert("top score selected", () => this.ChildrenOfType<ScorePanel>().OrderByDescending(p => p.Score.TotalScore).First().State == PanelState.Expanded);
|
2020-06-09 09:53:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
2020-07-31 12:39:50 +00:00
|
|
|
public void TestShowUserScoreWithDelay()
|
|
|
|
{
|
2022-03-08 11:11:56 +00:00
|
|
|
AddStep("bind user score info handler", () => bindHandler(true, userScore));
|
2020-07-31 12:39:50 +00:00
|
|
|
|
|
|
|
createResults(() => userScore);
|
|
|
|
|
|
|
|
AddAssert("more than 1 panel displayed", () => this.ChildrenOfType<ScorePanel>().Count() > 1);
|
2021-12-10 06:37:12 +00:00
|
|
|
AddAssert("user score selected", () => this.ChildrenOfType<ScorePanel>().Single(p => p.Score.OnlineID == userScore.OnlineID).State == PanelState.Expanded);
|
2020-07-31 12:39:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
public void TestShowNullUserScoreWithDelay()
|
2020-06-09 09:53:55 +00:00
|
|
|
{
|
2021-02-22 06:43:58 +00:00
|
|
|
AddStep("bind delayed handler", () => bindHandler(true));
|
2020-07-31 12:39:50 +00:00
|
|
|
|
|
|
|
createResults();
|
|
|
|
|
|
|
|
AddAssert("top score selected", () => this.ChildrenOfType<ScorePanel>().OrderByDescending(p => p.Score.TotalScore).First().State == PanelState.Expanded);
|
2020-05-28 13:25:00 +00:00
|
|
|
}
|
|
|
|
|
2020-07-31 12:39:50 +00:00
|
|
|
[Test]
|
|
|
|
public void TestFetchWhenScrolledToTheRight()
|
|
|
|
{
|
|
|
|
createResults();
|
|
|
|
|
2021-02-22 06:43:58 +00:00
|
|
|
AddStep("bind delayed handler", () => bindHandler(true));
|
2020-07-31 12:39:50 +00:00
|
|
|
|
|
|
|
for (int i = 0; i < 2; i++)
|
|
|
|
{
|
|
|
|
int beforePanelCount = 0;
|
|
|
|
|
|
|
|
AddStep("get panel count", () => beforePanelCount = this.ChildrenOfType<ScorePanel>().Count());
|
|
|
|
AddStep("scroll to right", () => resultsScreen.ScorePanelList.ChildrenOfType<OsuScrollContainer>().Single().ScrollToEnd(false));
|
|
|
|
|
|
|
|
AddAssert("right loading spinner shown", () => resultsScreen.RightSpinner.State.Value == Visibility.Visible);
|
|
|
|
waitForDisplay();
|
|
|
|
|
2022-03-08 11:11:56 +00:00
|
|
|
AddAssert($"count increased by {scores_per_result}", () => this.ChildrenOfType<ScorePanel>().Count() >= beforePanelCount + scores_per_result);
|
2020-07-31 12:39:50 +00:00
|
|
|
AddAssert("right loading spinner hidden", () => resultsScreen.RightSpinner.State.Value == Visibility.Hidden);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
public void TestFetchWhenScrolledToTheLeft()
|
|
|
|
{
|
2022-03-08 11:11:56 +00:00
|
|
|
AddStep("bind user score info handler", () => bindHandler(userScore: userScore));
|
2020-07-31 12:39:50 +00:00
|
|
|
|
|
|
|
createResults(() => userScore);
|
|
|
|
|
2021-02-22 06:43:58 +00:00
|
|
|
AddStep("bind delayed handler", () => bindHandler(true));
|
2020-07-31 12:39:50 +00:00
|
|
|
|
|
|
|
for (int i = 0; i < 2; i++)
|
|
|
|
{
|
|
|
|
int beforePanelCount = 0;
|
|
|
|
|
|
|
|
AddStep("get panel count", () => beforePanelCount = this.ChildrenOfType<ScorePanel>().Count());
|
|
|
|
AddStep("scroll to left", () => resultsScreen.ScorePanelList.ChildrenOfType<OsuScrollContainer>().Single().ScrollToStart(false));
|
|
|
|
|
|
|
|
AddAssert("left loading spinner shown", () => resultsScreen.LeftSpinner.State.Value == Visibility.Visible);
|
|
|
|
waitForDisplay();
|
|
|
|
|
2022-03-08 11:11:56 +00:00
|
|
|
AddAssert($"count increased by {scores_per_result}", () => this.ChildrenOfType<ScorePanel>().Count() >= beforePanelCount + scores_per_result);
|
2020-07-31 12:39:50 +00:00
|
|
|
AddAssert("left loading spinner hidden", () => resultsScreen.LeftSpinner.State.Value == Visibility.Hidden);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
private void createResults(Func<ScoreInfo> getScore = null)
|
2020-06-09 09:53:55 +00:00
|
|
|
{
|
|
|
|
AddStep("load results", () =>
|
|
|
|
{
|
2022-02-15 14:33:26 +00:00
|
|
|
LoadScreen(resultsScreen = new TestResultsScreen(getScore?.Invoke(), 1, new PlaylistItem(new TestBeatmap(new OsuRuleset().RulesetInfo).BeatmapInfo)
|
2020-06-09 09:53:55 +00:00
|
|
|
{
|
2022-02-15 07:01:14 +00:00
|
|
|
RulesetID = new OsuRuleset().RulesetInfo.OnlineID
|
2020-06-09 09:53:55 +00:00
|
|
|
}));
|
|
|
|
});
|
2021-09-06 11:20:52 +00:00
|
|
|
|
2021-12-20 07:58:16 +00:00
|
|
|
AddUntilStep("wait for screen to load", () => resultsScreen.IsLoaded);
|
2021-10-08 06:18:01 +00:00
|
|
|
waitForDisplay();
|
2020-06-09 09:53:55 +00:00
|
|
|
}
|
|
|
|
|
2020-07-31 12:39:50 +00:00
|
|
|
private void waitForDisplay()
|
2020-05-28 11:08:45 +00:00
|
|
|
{
|
2021-12-20 07:58:16 +00:00
|
|
|
AddUntilStep("wait for scores loaded", () =>
|
2021-10-08 06:18:01 +00:00
|
|
|
requestComplete
|
2022-05-30 10:29:13 +00:00
|
|
|
// request handler may need to fire more than once to get scores.
|
|
|
|
&& totalCount > 0
|
2021-10-08 06:18:01 +00:00
|
|
|
&& resultsScreen.ScorePanelList.GetScorePanels().Count() == totalCount
|
|
|
|
&& resultsScreen.ScorePanelList.AllPanelsVisible);
|
2020-07-31 12:39:50 +00:00
|
|
|
AddWaitStep("wait for display", 5);
|
|
|
|
}
|
|
|
|
|
2021-02-22 06:43:58 +00:00
|
|
|
private void bindHandler(bool delayed = false, ScoreInfo userScore = null, bool failRequests = false) => ((DummyAPIAccess)API).HandleRequest = request =>
|
2020-07-31 12:39:50 +00:00
|
|
|
{
|
2021-03-23 09:08:32 +00:00
|
|
|
// pre-check for requests we should be handling (as they are scheduled below).
|
|
|
|
switch (request)
|
|
|
|
{
|
2022-06-24 12:25:23 +00:00
|
|
|
case ShowPlaylistUserScoreRequest:
|
|
|
|
case IndexPlaylistScoresRequest:
|
2021-03-23 09:08:32 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2020-07-31 12:39:50 +00:00
|
|
|
requestComplete = false;
|
|
|
|
|
2021-02-22 06:43:58 +00:00
|
|
|
double delay = delayed ? 3000 : 0;
|
2020-07-31 12:39:50 +00:00
|
|
|
|
2021-02-22 06:43:58 +00:00
|
|
|
Scheduler.AddDelayed(() =>
|
2020-07-31 12:39:50 +00:00
|
|
|
{
|
2021-02-22 06:43:58 +00:00
|
|
|
if (failRequests)
|
|
|
|
{
|
|
|
|
triggerFail(request);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
switch (request)
|
|
|
|
{
|
|
|
|
case ShowPlaylistUserScoreRequest s:
|
|
|
|
if (userScore == null)
|
|
|
|
triggerFail(s);
|
|
|
|
else
|
|
|
|
triggerSuccess(s, createUserResponse(userScore));
|
2021-10-08 06:18:01 +00:00
|
|
|
|
2021-02-22 06:43:58 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case IndexPlaylistScoresRequest i:
|
|
|
|
triggerSuccess(i, createIndexResponse(i));
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}, delay);
|
2021-03-23 09:08:32 +00:00
|
|
|
|
|
|
|
return true;
|
2020-07-31 12:39:50 +00:00
|
|
|
};
|
2020-05-28 11:08:45 +00:00
|
|
|
|
2021-02-22 06:43:58 +00:00
|
|
|
private void triggerSuccess<T>(APIRequest<T> req, T result)
|
2020-07-31 12:39:50 +00:00
|
|
|
where T : class
|
|
|
|
{
|
2021-02-22 06:43:58 +00:00
|
|
|
requestComplete = true;
|
|
|
|
req.TriggerSuccess(result);
|
2020-07-31 12:39:50 +00:00
|
|
|
}
|
|
|
|
|
2021-02-22 06:43:58 +00:00
|
|
|
private void triggerFail(APIRequest req)
|
2020-07-31 12:39:50 +00:00
|
|
|
{
|
2021-02-22 06:43:58 +00:00
|
|
|
requestComplete = true;
|
|
|
|
req.TriggerFailure(new WebException("Failed."));
|
2020-07-31 12:39:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
private MultiplayerScore createUserResponse([NotNull] ScoreInfo userScore)
|
|
|
|
{
|
|
|
|
var multiplayerUserScore = new MultiplayerScore
|
|
|
|
{
|
2022-03-08 11:11:56 +00:00
|
|
|
ID = highestScoreId,
|
2020-07-31 12:39:50 +00:00
|
|
|
Accuracy = userScore.Accuracy,
|
|
|
|
Passed = userScore.Passed,
|
|
|
|
Rank = userScore.Rank,
|
2021-12-12 21:54:57 +00:00
|
|
|
Position = real_user_position,
|
2020-07-31 12:39:50 +00:00
|
|
|
MaxCombo = userScore.MaxCombo,
|
|
|
|
User = userScore.User,
|
|
|
|
ScoresAround = new MultiplayerScoresAround
|
|
|
|
{
|
|
|
|
Higher = new MultiplayerScores(),
|
|
|
|
Lower = new MultiplayerScores()
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2021-10-08 06:18:01 +00:00
|
|
|
totalCount++;
|
|
|
|
|
2020-07-31 12:39:50 +00:00
|
|
|
for (int i = 1; i <= scores_per_result; i++)
|
|
|
|
{
|
|
|
|
multiplayerUserScore.ScoresAround.Lower.Scores.Add(new MultiplayerScore
|
|
|
|
{
|
2022-04-11 06:38:11 +00:00
|
|
|
ID = getNextLowestScoreId(),
|
2020-07-31 12:39:50 +00:00
|
|
|
Accuracy = userScore.Accuracy,
|
|
|
|
Passed = true,
|
|
|
|
Rank = userScore.Rank,
|
|
|
|
MaxCombo = userScore.MaxCombo,
|
2021-11-04 09:02:44 +00:00
|
|
|
User = new APIUser
|
2020-07-31 12:39:50 +00:00
|
|
|
{
|
|
|
|
Id = 2,
|
|
|
|
Username = $"peppy{i}",
|
|
|
|
CoverUrl = "https://osu.ppy.sh/images/headers/profile-covers/c3.jpg",
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
multiplayerUserScore.ScoresAround.Higher.Scores.Add(new MultiplayerScore
|
|
|
|
{
|
2022-04-11 06:38:11 +00:00
|
|
|
ID = getNextHighestScoreId(),
|
2020-07-31 12:39:50 +00:00
|
|
|
Accuracy = userScore.Accuracy,
|
|
|
|
Passed = true,
|
|
|
|
Rank = userScore.Rank,
|
|
|
|
MaxCombo = userScore.MaxCombo,
|
2021-11-04 09:02:44 +00:00
|
|
|
User = new APIUser
|
2020-07-31 12:39:50 +00:00
|
|
|
{
|
|
|
|
Id = 2,
|
|
|
|
Username = $"peppy{i}",
|
|
|
|
CoverUrl = "https://osu.ppy.sh/images/headers/profile-covers/c3.jpg",
|
|
|
|
},
|
|
|
|
});
|
2021-10-08 06:18:01 +00:00
|
|
|
|
|
|
|
totalCount += 2;
|
2020-07-31 12:39:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
addCursor(multiplayerUserScore.ScoresAround.Lower);
|
|
|
|
addCursor(multiplayerUserScore.ScoresAround.Higher);
|
|
|
|
|
|
|
|
return multiplayerUserScore;
|
|
|
|
}
|
|
|
|
|
|
|
|
private IndexedMultiplayerScores createIndexResponse(IndexPlaylistScoresRequest req)
|
|
|
|
{
|
|
|
|
var result = new IndexedMultiplayerScores();
|
|
|
|
|
|
|
|
string sort = req.IndexParams?.Properties["sort"].ToObject<string>() ?? "score_desc";
|
|
|
|
|
|
|
|
for (int i = 1; i <= scores_per_result; i++)
|
|
|
|
{
|
|
|
|
result.Scores.Add(new MultiplayerScore
|
|
|
|
{
|
2022-04-11 06:38:11 +00:00
|
|
|
ID = sort == "score_asc" ? getNextHighestScoreId() : getNextLowestScoreId(),
|
2020-07-31 12:39:50 +00:00
|
|
|
Accuracy = 1,
|
2020-05-28 11:08:45 +00:00
|
|
|
Passed = true,
|
2020-07-31 12:39:50 +00:00
|
|
|
Rank = ScoreRank.X,
|
|
|
|
MaxCombo = 1000,
|
2021-11-04 09:02:44 +00:00
|
|
|
User = new APIUser
|
2020-05-28 11:08:45 +00:00
|
|
|
{
|
|
|
|
Id = 2,
|
|
|
|
Username = $"peppy{i}",
|
|
|
|
CoverUrl = "https://osu.ppy.sh/images/headers/profile-covers/c3.jpg",
|
|
|
|
},
|
|
|
|
});
|
2021-10-08 06:18:01 +00:00
|
|
|
|
|
|
|
totalCount++;
|
2020-05-28 11:08:45 +00:00
|
|
|
}
|
|
|
|
|
2020-07-31 12:39:50 +00:00
|
|
|
addCursor(result);
|
|
|
|
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
|
2022-04-11 06:38:11 +00:00
|
|
|
/// <summary>
|
|
|
|
/// The next highest score ID to appear at the left of the list. Monotonically decreasing.
|
|
|
|
/// </summary>
|
|
|
|
private int getNextHighestScoreId() => --highestScoreId;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The next lowest score ID to appear at the right of the list. Monotonically increasing.
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
private int getNextLowestScoreId() => ++lowestScoreId;
|
|
|
|
|
2020-07-31 12:39:50 +00:00
|
|
|
private void addCursor(MultiplayerScores scores)
|
|
|
|
{
|
|
|
|
scores.Cursor = new Cursor
|
|
|
|
{
|
|
|
|
Properties = new Dictionary<string, JToken>
|
|
|
|
{
|
|
|
|
{ "total_score", JToken.FromObject(scores.Scores[^1].TotalScore) },
|
|
|
|
{ "score_id", JToken.FromObject(scores.Scores[^1].ID) },
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
scores.Params = new IndexScoresParams
|
2020-05-28 11:08:45 +00:00
|
|
|
{
|
2020-07-31 12:39:50 +00:00
|
|
|
Properties = new Dictionary<string, JToken>
|
2020-05-28 11:08:45 +00:00
|
|
|
{
|
2022-04-11 06:38:11 +00:00
|
|
|
// [ 1, 2, 3, ... ] => score_desc (will be added to the right of the list)
|
|
|
|
// [ 3, 2, 1, ... ] => score_asc (will be added to the left of the list)
|
|
|
|
{ "sort", JToken.FromObject(scores.Scores[^1].ID > scores.Scores[^2].ID ? "score_desc" : "score_asc") }
|
2020-06-09 09:53:55 +00:00
|
|
|
}
|
|
|
|
};
|
2020-05-28 11:08:45 +00:00
|
|
|
}
|
2020-07-31 12:39:50 +00:00
|
|
|
|
2020-12-25 04:11:21 +00:00
|
|
|
private partial class TestResultsScreen : PlaylistsResultsScreen
|
2020-07-31 12:39:50 +00:00
|
|
|
{
|
|
|
|
public new LoadingSpinner LeftSpinner => base.LeftSpinner;
|
|
|
|
public new LoadingSpinner CentreSpinner => base.CentreSpinner;
|
|
|
|
public new LoadingSpinner RightSpinner => base.RightSpinner;
|
|
|
|
public new ScorePanelList ScorePanelList => base.ScorePanelList;
|
|
|
|
|
|
|
|
public TestResultsScreen(ScoreInfo score, int roomId, PlaylistItem playlistItem, bool allowRetry = true)
|
|
|
|
: base(score, roomId, playlistItem, allowRetry)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
2020-05-28 11:08:45 +00:00
|
|
|
}
|
|
|
|
}
|