mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 15:22:55 +08:00
Ignore some properties
This commit is contained in:
parent
0cfd6fdf04
commit
45382a8127
@ -29,16 +29,16 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
||||
[JsonProperty("overall_difficulty")]
|
||||
public double OverallDifficulty { get; set; }
|
||||
|
||||
[JsonProperty("drain_rate")]
|
||||
[JsonIgnore]
|
||||
public double DrainRate { get; set; }
|
||||
|
||||
[JsonProperty("hit_circle_count")]
|
||||
[JsonIgnore]
|
||||
public int HitCircleCount { get; set; }
|
||||
|
||||
[JsonProperty("slider_count")]
|
||||
[JsonIgnore]
|
||||
public int SliderCount { get; set; }
|
||||
|
||||
[JsonProperty("spinner_count")]
|
||||
[JsonIgnore]
|
||||
public int SpinnerCount { get; set; }
|
||||
|
||||
public override IEnumerable<(int attributeId, object value)> ToDatabase()
|
||||
|
@ -17,10 +17,10 @@ namespace osu.Game.Rulesets.Difficulty
|
||||
[JsonIgnore]
|
||||
public Skill[] Skills { get; set; }
|
||||
|
||||
[JsonProperty("star_rating")]
|
||||
[JsonProperty("star_rating", Order = -3)]
|
||||
public double StarRating { get; set; }
|
||||
|
||||
[JsonProperty("max_combo")]
|
||||
[JsonProperty("max_combo", Order = -2)]
|
||||
public int MaxCombo { get; set; }
|
||||
|
||||
public DifficultyAttributes()
|
||||
|
Loading…
Reference in New Issue
Block a user