Move online metrics out of BeatmapInfo model

This commit is contained in:
Dean Herbert
2021-10-25 15:12:11 +09:00
parent 045dd94a6e
commit 20baae9094
10 changed files with 124 additions and 98 deletions

View File

@ -10,8 +10,31 @@ namespace osu.Game.Beatmaps
/// </summary>
public interface IBeatmapOnlineInfo
{
/// <summary>
/// The max combo of this beatmap.
/// </summary>
int? MaxCombo { get; }
/// <summary>
/// The amount of circles in this beatmap.
/// </summary>
public int CircleCount { get; }
/// <summary>
/// The amount of sliders in this beatmap.
/// </summary>
public int SliderCount { get; }
/// <summary>
/// The amount of plays this beatmap has.
/// </summary>
public int PlayCount { get; }
/// <summary>
/// The amount of passes this beatmap has.
/// </summary>
public int PassCount { get; }
BeatmapMetrics? Metrics { get; }
}
}