mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 18:23:04 +08:00
Implement remaining properties via implicit implementation rather than interface methods
This commit is contained in:
parent
a0e25d18cd
commit
a90cfb4a2f
@ -19,9 +19,9 @@ namespace osu.Game.Beatmaps
|
|||||||
{
|
{
|
||||||
IBeatmapInfo BeatmapInfo { get; }
|
IBeatmapInfo BeatmapInfo { get; }
|
||||||
|
|
||||||
IBeatmapSetInfo BeatmapSetInfo => BeatmapInfo.BeatmapSet;
|
IBeatmapSetInfo BeatmapSetInfo { get; }
|
||||||
|
|
||||||
IBeatmapMetadataInfo Metadata => BeatmapInfo.Metadata;
|
IBeatmapMetadataInfo Metadata { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the Beatmap has finished loading.
|
/// Whether the Beatmap has finished loading.
|
||||||
|
@ -231,6 +231,8 @@ namespace osu.Game.Beatmaps
|
|||||||
public virtual bool BeatmapLoaded => beatmapLoadTask?.IsCompleted ?? false;
|
public virtual bool BeatmapLoaded => beatmapLoadTask?.IsCompleted ?? false;
|
||||||
|
|
||||||
IBeatmapInfo IWorkingBeatmap.BeatmapInfo => BeatmapInfo;
|
IBeatmapInfo IWorkingBeatmap.BeatmapInfo => BeatmapInfo;
|
||||||
|
IBeatmapMetadataInfo IWorkingBeatmap.Metadata => Metadata;
|
||||||
|
IBeatmapSetInfo IWorkingBeatmap.BeatmapSetInfo => BeatmapSetInfo;
|
||||||
|
|
||||||
public IBeatmap Beatmap
|
public IBeatmap Beatmap
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user