Merge pull request #19082 from peppy/api-solo-score-model

Add and consume `SoloScoreInfo`
This commit is contained in:
Dan Balasescu
2022-07-15 15:20:18 +09:00
committed by GitHub
8 changed files with 176 additions and 32 deletions

View File

@ -152,7 +152,7 @@ namespace osu.Game.Screens.Select.Leaderboards
req.Success += r =>
{
scoreManager.OrderByTotalScoreAsync(r.Scores.Select(s => s.CreateScoreInfo(rulesets, fetchBeatmapInfo)).ToArray(), cancellationToken)
scoreManager.OrderByTotalScoreAsync(r.Scores.Select(s => s.ToScoreInfo(rulesets, fetchBeatmapInfo)).ToArray(), cancellationToken)
.ContinueWith(task => Schedule(() =>
{
if (cancellationToken.IsCancellationRequested)