1
0
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:
Dan Balasescu 2024-11-13 15:50:01 +09:00
parent f3fd87af7b
commit db025d81ee
No known key found for this signature in database

View File

@ -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?>();