Use CMC for all of multiplayer

This commit is contained in:
smoogipoo
2019-02-05 19:00:01 +09:00
parent be51ee4ed5
commit aac371ba6e
38 changed files with 652 additions and 768 deletions

View File

@ -23,7 +23,7 @@ namespace osu.Game.Screens.Multi
private readonly BindableList<Room> rooms = new BindableList<Room>();
public IBindableList<Room> Rooms => rooms;
public readonly Bindable<Room> CurrentRoom = new Bindable<Room>();
public Bindable<Room> CurrentRoom { get; } = new Bindable<Room>();
[Resolved]
private APIAccess api { get; set; }
@ -51,6 +51,8 @@ namespace osu.Game.Screens.Multi
update(room, result);
addRoom(room);
CurrentRoom.Value = room;
RoomsUpdated?.Invoke();
onSuccess?.Invoke(room);