mirror of
https://github.com/ppy/osu.git
synced 2025-01-21 20:33:01 +08:00
Rename new property to match true usage (per item)
Also document a bit more.
This commit is contained in:
parent
2e37f3b5de
commit
19affa7062
@ -27,11 +27,14 @@ namespace osu.Game.Online.Metadata
|
|||||||
public long[] TotalScoreDistribution { get; set; } = new long[TOTAL_SCORE_DISTRIBUTION_BINS];
|
public long[] TotalScoreDistribution { get; set; } = new long[TOTAL_SCORE_DISTRIBUTION_BINS];
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The cumulative total of all passing scores (across all users) in the playlist so far.
|
/// The cumulative total of all passing scores (across all users) for the playlist item so far.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key(2)]
|
[Key(2)]
|
||||||
public long TotalPlaylistScore { get; set; }
|
public long CumulativeScore { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The last score to have been processed into provided statistics. Generally only for server-side accounting purposes.
|
||||||
|
/// </summary>
|
||||||
[Key(3)]
|
[Key(3)]
|
||||||
public ulong LastProcessedScoreID { get; set; }
|
public ulong LastProcessedScoreID { get; set; }
|
||||||
}
|
}
|
||||||
|
@ -427,7 +427,7 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
|
|||||||
Schedule(() =>
|
Schedule(() =>
|
||||||
{
|
{
|
||||||
breakdown.SetInitialCounts(itemStats.TotalScoreDistribution);
|
breakdown.SetInitialCounts(itemStats.TotalScoreDistribution);
|
||||||
totals.SetInitialCounts(itemStats.TotalScoreDistribution.Sum(c => c), itemStats.TotalPlaylistScore);
|
totals.SetInitialCounts(itemStats.TotalScoreDistribution.Sum(c => c), itemStats.CumulativeScore);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user