mirror of
https://github.com/ppy/osu
synced 2024-12-24 15:53:37 +00:00
Add missing backlink to BeatmapSet
from Beatmap
and fix non-explicit implementations
This commit is contained in:
parent
00e33a1da7
commit
9dae92e78c
@ -196,11 +196,12 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
#region Implementation of IBeatmapInfo
|
||||
|
||||
public string DifficultyName => Version;
|
||||
string IBeatmapInfo.DifficultyName => Version;
|
||||
IBeatmapMetadataInfo IBeatmapInfo.Metadata => Metadata;
|
||||
public IBeatmapDifficultyInfo Difficulty => BaseDifficulty;
|
||||
IBeatmapDifficultyInfo IBeatmapInfo.Difficulty => BaseDifficulty;
|
||||
IBeatmapSetInfo IBeatmapInfo.BeatmapSet => BeatmapSet;
|
||||
IRulesetInfo IBeatmapInfo.Ruleset => Ruleset;
|
||||
public double StarRating => StarDifficulty;
|
||||
double IBeatmapInfo.StarRating => StarDifficulty;
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
@ -29,6 +29,11 @@ namespace osu.Game.Beatmaps
|
||||
/// </summary>
|
||||
IBeatmapDifficultyInfo Difficulty { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The beatmap set this beatmap is part of.
|
||||
/// </summary>
|
||||
IBeatmapSetInfo BeatmapSet { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The playable length in milliseconds of this beatmap.
|
||||
/// </summary>
|
||||
|
Loading…
Reference in New Issue
Block a user