mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Proper Bindable usage
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using System.ComponentModel;
|
||||
using osu.Framework.Configuration;
|
||||
using osu.Game.Database;
|
||||
using osu.Game.Users;
|
||||
|
||||
@ -9,10 +10,10 @@ namespace osu.Game.Online.Multiplayer
|
||||
{
|
||||
public class Room
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public User Host { get; set; }
|
||||
public RoomStatus Status { get; set; }
|
||||
public BeatmapMetadata Beatmap { get; set; }
|
||||
public Bindable<string> Name = new Bindable<string>();
|
||||
public Bindable<User> Host = new Bindable<User>();
|
||||
public Bindable<RoomStatus> Status = new Bindable<RoomStatus>();
|
||||
public Bindable<BeatmapMetadata> Beatmap = new Bindable<BeatmapMetadata>();
|
||||
}
|
||||
|
||||
public enum RoomStatus
|
||||
|
Reference in New Issue
Block a user