mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 05:32:54 +08:00
Add forgotten JsonIgnore
rules on interface types
Just to avoid them getting serialised as part of the "new" .osu serialisation format.
This commit is contained in:
parent
20baae9094
commit
4969ab0599
@ -181,11 +181,22 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
#region Implementation of IBeatmapInfo
|
||||
|
||||
[JsonIgnore]
|
||||
string IBeatmapInfo.DifficultyName => Version;
|
||||
|
||||
[JsonIgnore]
|
||||
IBeatmapMetadataInfo IBeatmapInfo.Metadata => Metadata;
|
||||
|
||||
[JsonIgnore]
|
||||
IBeatmapDifficultyInfo IBeatmapInfo.Difficulty => BaseDifficulty;
|
||||
|
||||
[JsonIgnore]
|
||||
IBeatmapSetInfo IBeatmapInfo.BeatmapSet => BeatmapSet;
|
||||
|
||||
[JsonIgnore]
|
||||
IRulesetInfo IBeatmapInfo.Ruleset => Ruleset;
|
||||
|
||||
[JsonIgnore]
|
||||
double IBeatmapInfo.StarRating => StarDifficulty;
|
||||
|
||||
#endregion
|
||||
|
Loading…
Reference in New Issue
Block a user