1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 16:12:54 +08:00

Add more properties to IBeatmapOnlineInfo

This commit is contained in:
Dan Balasescu 2022-06-27 15:01:53 +09:00
parent 2b278ed324
commit f6a6538e96
2 changed files with 32 additions and 4 deletions

View File

@ -13,25 +13,50 @@ namespace osu.Game.Beatmaps
/// </summary>
int? MaxCombo { get; }
/// <summary>
/// The approach rate.
/// </summary>
float ApproachRate { get; }
/// <summary>
/// The circle size.
/// </summary>
float CircleSize { get; }
/// <summary>
/// The drain rate.
/// </summary>
float DrainRate { get; }
/// <summary>
/// The overall difficulty.
/// </summary>
float OverallDifficulty { get; }
/// <summary>
/// The amount of circles in this beatmap.
/// </summary>
public int CircleCount { get; }
int CircleCount { get; }
/// <summary>
/// The amount of sliders in this beatmap.
/// </summary>
public int SliderCount { get; }
int SliderCount { get; }
/// <summary>
/// The amount of spinners in tihs beatmap.
/// </summary>
int SpinnerCount { get; }
/// <summary>
/// The amount of plays this beatmap has.
/// </summary>
public int PlayCount { get; }
int PlayCount { get; }
/// <summary>
/// The amount of passes this beatmap has.
/// </summary>
public int PassCount { get; }
int PassCount { get; }
APIFailTimes? FailTimes { get; }
}

View File

@ -69,6 +69,9 @@ namespace osu.Game.Online.API.Requests.Responses
[JsonProperty(@"count_sliders")]
public int SliderCount { get; set; }
[JsonProperty(@"count_spinners")]
public int SpinnerCount { get; set; }
[JsonProperty(@"version")]
public string DifficultyName { get; set; } = string.Empty;