1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-12 00:02:57 +08:00

Merge pull request #20028 from smoogipoo/add-legacy-total-score

Add LegacyTotalScore to SoloScoreInfo
This commit is contained in:
Dean Herbert 2022-08-30 16:39:25 +09:00 committed by GitHub
commit e39d236f27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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")]