1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 07:22:54 +08:00

Add LegacyTotalScore to SoloScoreInfo

This commit is contained in:
Dan Balasescu 2022-08-30 15:50:19 +09:00
parent ea7e5797d1
commit 799c015bff

View File

@ -77,6 +77,12 @@ namespace osu.Game.Online.API.Requests.Responses
[JsonProperty("maximum_statistics")]
public Dictionary<HitResult, int> MaximumStatistics { get; set; } = new Dictionary<HitResult, int>();
/// <summary>
/// Used to preserve the total score for legacy scores.
/// </summary>
[JsonProperty("legacy_total_score")]
public int? LegacyTotalScore { get; set; }
#region osu-web API additions (not stored to database).
[JsonProperty("id")]