mirror of https://github.com/ppy/osu
Add `ScoreInfo.TotalScoreWithoutMods`
This commit is contained in:
parent
15d286e57d
commit
a386068ed3
|
@ -91,8 +91,9 @@ public class RealmAccess : IDisposable
|
|||
/// 38 2023-12-10 Add EndTimeObjectCount and TotalObjectCount to BeatmapInfo.
|
||||
/// 39 2023-12-19 Migrate any EndTimeObjectCount and TotalObjectCount values of 0 to -1 to better identify non-calculated values.
|
||||
/// 40 2023-12-21 Add ScoreInfo.Version to keep track of which build scores were set on.
|
||||
/// 41 2024-04-17 Add ScoreInfo.TotalScoreWithoutMods for future mod multiplier rebalances.
|
||||
/// </summary>
|
||||
private const int schema_version = 40;
|
||||
private const int schema_version = 41;
|
||||
|
||||
/// <summary>
|
||||
/// Lock object which is held during <see cref="BlockAllOperations"/> sections, blocking realm retrieval during blocking periods.
|
||||
|
|
|
@ -65,8 +65,19 @@ public class ScoreInfo : RealmObject, IHasGuidPrimaryKey, IHasRealmFiles, ISoftD
|
|||
|
||||
public bool DeletePending { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The total number of points awarded for the score.
|
||||
/// </summary>
|
||||
public long TotalScore { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The total number of points awarded for the score without including mod multipliers.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The purpose of this property is to enable future lossless rebalances of mod multipliers.
|
||||
/// </remarks>
|
||||
public long TotalScoreWithoutMods { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The version of processing applied to calculate total score as stored in the database.
|
||||
/// If this does not match <see cref="LegacyScoreEncoder.LATEST_VERSION"/>,
|
||||
|
|
Loading…
Reference in New Issue