mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Reorder public property vs private field
This commit is contained in:
parent
f3fd87af7b
commit
db025d81ee
@ -21,9 +21,6 @@ namespace osu.Game.Online.Rooms
|
||||
{
|
||||
public event PropertyChangedEventHandler? PropertyChanged;
|
||||
|
||||
[JsonProperty("current_playlist_item")]
|
||||
private PlaylistItem? currentPlaylistItem;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the current item selected within the room.
|
||||
/// </summary>
|
||||
@ -36,6 +33,9 @@ namespace osu.Game.Online.Rooms
|
||||
set => SetField(ref currentPlaylistItem, value);
|
||||
}
|
||||
|
||||
[JsonProperty("current_playlist_item")]
|
||||
private PlaylistItem? currentPlaylistItem;
|
||||
|
||||
[Cached]
|
||||
[JsonProperty("id")]
|
||||
public readonly Bindable<long?> RoomID = new Bindable<long?>();
|
||||
|
Loading…
Reference in New Issue
Block a user