mirror of
https://github.com/ppy/osu
synced 2025-03-03 18:10:28 +00: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
|
#region Implementation of IBeatmapInfo
|
||||||
|
|
||||||
|
[JsonIgnore]
|
||||||
string IBeatmapInfo.DifficultyName => Version;
|
string IBeatmapInfo.DifficultyName => Version;
|
||||||
|
|
||||||
|
[JsonIgnore]
|
||||||
IBeatmapMetadataInfo IBeatmapInfo.Metadata => Metadata;
|
IBeatmapMetadataInfo IBeatmapInfo.Metadata => Metadata;
|
||||||
|
|
||||||
|
[JsonIgnore]
|
||||||
IBeatmapDifficultyInfo IBeatmapInfo.Difficulty => BaseDifficulty;
|
IBeatmapDifficultyInfo IBeatmapInfo.Difficulty => BaseDifficulty;
|
||||||
|
|
||||||
|
[JsonIgnore]
|
||||||
IBeatmapSetInfo IBeatmapInfo.BeatmapSet => BeatmapSet;
|
IBeatmapSetInfo IBeatmapInfo.BeatmapSet => BeatmapSet;
|
||||||
|
|
||||||
|
[JsonIgnore]
|
||||||
IRulesetInfo IBeatmapInfo.Ruleset => Ruleset;
|
IRulesetInfo IBeatmapInfo.Ruleset => Ruleset;
|
||||||
|
|
||||||
|
[JsonIgnore]
|
||||||
double IBeatmapInfo.StarRating => StarDifficulty;
|
double IBeatmapInfo.StarRating => StarDifficulty;
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
Loading…
Reference in New Issue
Block a user