1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-01 19:00:05 +08:00

Reorder public property vs private field

This commit is contained in:
Dan Balasescu
2024-11-13 15:50:01 +09:00
Unverified
parent f3fd87af7b
commit db025d81ee
+3 -3
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?>();