1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-28 01:47:33 +08:00

Reapply IWorkingBeatmap nullability fixed

This commit is contained in:
Dean Herbert 2021-12-22 20:48:48 +09:00
parent bc47801cbb
commit bb9877adab

View File

@ -37,12 +37,12 @@ namespace osu.Game.Beatmaps
/// <summary> /// <summary>
/// Retrieves the <see cref="IBeatmap"/> which this <see cref="IWorkingBeatmap"/> represents. /// Retrieves the <see cref="IBeatmap"/> which this <see cref="IWorkingBeatmap"/> represents.
/// </summary> /// </summary>
IBeatmap Beatmap { get; } IBeatmap? Beatmap { get; }
/// <summary> /// <summary>
/// Retrieves the background for this <see cref="IWorkingBeatmap"/>. /// Retrieves the background for this <see cref="IWorkingBeatmap"/>.
/// </summary> /// </summary>
Texture Background { get; } Texture? Background { get; }
/// <summary> /// <summary>
/// Retrieves the <see cref="Waveform"/> for the <see cref="Track"/> of this <see cref="IWorkingBeatmap"/>. /// Retrieves the <see cref="Waveform"/> for the <see cref="Track"/> of this <see cref="IWorkingBeatmap"/>.
@ -57,12 +57,12 @@ namespace osu.Game.Beatmaps
/// <summary> /// <summary>
/// Retrieves the <see cref="Skin"/> which this <see cref="IWorkingBeatmap"/> provides. /// Retrieves the <see cref="Skin"/> which this <see cref="IWorkingBeatmap"/> provides.
/// </summary> /// </summary>
ISkin Skin { get; } ISkin? Skin { get; }
/// <summary> /// <summary>
/// Retrieves the <see cref="Track"/> which this <see cref="IWorkingBeatmap"/> has loaded. /// Retrieves the <see cref="Track"/> which this <see cref="IWorkingBeatmap"/> has loaded.
/// </summary> /// </summary>
Track Track { get; } Track? Track { get; }
/// <summary> /// <summary>
/// Constructs a playable <see cref="IBeatmap"/> from <see cref="Beatmap"/> using the applicable converters for a specific <see cref="RulesetInfo"/>. /// Constructs a playable <see cref="IBeatmap"/> from <see cref="Beatmap"/> using the applicable converters for a specific <see cref="RulesetInfo"/>.
@ -114,7 +114,7 @@ namespace osu.Game.Beatmaps
/// Returns the stream of the file from the given storage path. /// Returns the stream of the file from the given storage path.
/// </summary> /// </summary>
/// <param name="storagePath">The storage path to the file.</param> /// <param name="storagePath">The storage path to the file.</param>
Stream GetStream(string storagePath); Stream? GetStream(string storagePath);
/// <summary> /// <summary>
/// Beings loading the contents of this <see cref="IWorkingBeatmap"/> asynchronously. /// Beings loading the contents of this <see cref="IWorkingBeatmap"/> asynchronously.