mirror of
https://github.com/osukey/osukey.git
synced 2025-06-23 12:18:03 +09:00
Make RoomScore derive ScoreInfo
This commit is contained in:
parent
6afd2f7263
commit
3570c35d7f
@ -98,8 +98,9 @@ namespace osu.Game.Scoring
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[JsonIgnore]
|
[NotMapped]
|
||||||
public User User;
|
[JsonProperty("user")]
|
||||||
|
public User User { get; set; }
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[Column("User")]
|
[Column("User")]
|
||||||
|
@ -102,20 +102,8 @@ namespace osu.Game.Screens.Multi.Match.Components
|
|||||||
Overall
|
Overall
|
||||||
}
|
}
|
||||||
|
|
||||||
public class RoomScore
|
public class RoomScore : ScoreInfo
|
||||||
{
|
{
|
||||||
[JsonProperty("user")]
|
|
||||||
public User User { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("accuracy")]
|
|
||||||
public double Accuracy { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("total_score")]
|
|
||||||
public int TotalScore { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("pp")]
|
|
||||||
public double? PP { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("attempts")]
|
[JsonProperty("attempts")]
|
||||||
public int TotalAttempts { get; set; }
|
public int TotalAttempts { get; set; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user