mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 16:32:54 +08:00
Remove nullability from EditorState
properties
Also update the xmldoc to not be specific to difficulty switching
This commit is contained in:
parent
f8bdca542d
commit
57f8ccca16
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user