mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Add {ScoreInfo,UserStatistics}.Accuracy
This commit is contained in:
@ -31,6 +31,9 @@ namespace osu.Game.Scoring
|
||||
[Column(TypeName = "DECIMAL(1,4)")]
|
||||
public double Accuracy { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public string DisplayAccuracy => Accuracy == 1 ? "100%" : $"{Accuracy:P2}";
|
||||
|
||||
[JsonProperty(@"pp")]
|
||||
public double? PP { get; set; }
|
||||
|
||||
|
Reference in New Issue
Block a user