1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 16:02:55 +08:00

Implement remaining properties via implicit implementation rather than interface methods

This commit is contained in:
Dean Herbert 2021-11-15 19:30:46 +09:00
parent a0e25d18cd
commit a90cfb4a2f
2 changed files with 4 additions and 2 deletions

View File

@ -19,9 +19,9 @@ namespace osu.Game.Beatmaps
{
IBeatmapInfo BeatmapInfo { get; }
IBeatmapSetInfo BeatmapSetInfo => BeatmapInfo.BeatmapSet;
IBeatmapSetInfo BeatmapSetInfo { get; }
IBeatmapMetadataInfo Metadata => BeatmapInfo.Metadata;
IBeatmapMetadataInfo Metadata { get; }
/// <summary>
/// Whether the Beatmap has finished loading.

View File

@ -231,6 +231,8 @@ namespace osu.Game.Beatmaps
public virtual bool BeatmapLoaded => beatmapLoadTask?.IsCompleted ?? false;
IBeatmapInfo IWorkingBeatmap.BeatmapInfo => BeatmapInfo;
IBeatmapMetadataInfo IWorkingBeatmap.Metadata => Metadata;
IBeatmapSetInfo IWorkingBeatmap.BeatmapSetInfo => BeatmapSetInfo;
public IBeatmap Beatmap
{