1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07:25 +08:00

Remove nullability from EditorState properties

Also update the xmldoc to not be specific to difficulty switching
This commit is contained in:
Dean Herbert 2021-09-14 23:36:26 +09:00
parent f8bdca542d
commit 57f8ccca16

View File

@ -6,19 +6,18 @@
namespace osu.Game.Screens.Edit
{
/// <summary>
/// Structure used to transport data between <see cref="Editor"/> instances on difficulty change.
/// It's intended to be received by <see cref="EditorLoader"/> from one editor instance and passed down to the next one.
/// Structure used to convey the general state of an <see cref="Editor"/> instance.
/// </summary>
public class EditorState
{
/// <summary>
/// The current clock time when a difficulty switch was requested.
/// The current audio time.
/// </summary>
public double? Time { get; set; }
public double Time { get; set; }
/// <summary>
/// The current editor clipboard content at the time when a difficulty switch was requested.
/// The editor clipboard content.
/// </summary>
public string? ClipboardContent { get; set; }
public string ClipboardContent { get; set; } = string.Empty;
}
}