osu/osu.Game/Screens/Multi/Ranking/MatchResults.cs

27 lines
822 B
C#
Raw Normal View History

// 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.
2018-12-21 09:22:13 +00:00
using System.Collections.Generic;
using osu.Game.Scoring;
using osu.Game.Screens.Multi.Ranking.Types;
using osu.Game.Screens.Ranking;
using osu.Game.Screens.Ranking.Types;
namespace osu.Game.Screens.Multi.Ranking
{
2018-12-26 11:05:57 +00:00
public class MatchResults : Results
2018-12-21 09:22:13 +00:00
{
2019-02-05 10:00:01 +00:00
public MatchResults(ScoreInfo score)
2018-12-21 09:22:13 +00:00
: base(score)
{
}
2018-12-22 07:26:27 +00:00
protected override IEnumerable<IResultPageInfo> CreateResultPages() => new IResultPageInfo[]
2018-12-21 09:22:13 +00:00
{
2019-02-21 09:56:34 +00:00
new ScoreOverviewPageInfo(Score, Beatmap.Value),
new LocalLeaderboardPageInfo(Score, Beatmap.Value),
new RoomLeaderboardPageInfo(Score, Beatmap.Value),
2018-12-21 09:22:13 +00:00
};
}
}