2018-04-13 17:19:50 +08:00
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
2018-05-29 13:42:52 +08:00
|
|
|
using System.Collections.Generic;
|
2018-04-13 17:19:50 +08:00
|
|
|
using osu.Framework.Configuration;
|
|
|
|
using osu.Game.Beatmaps;
|
|
|
|
using osu.Game.Users;
|
|
|
|
|
|
|
|
namespace osu.Game.Online.Multiplayer
|
|
|
|
{
|
|
|
|
public class Room
|
|
|
|
{
|
|
|
|
public Bindable<string> Name = new Bindable<string>();
|
|
|
|
public Bindable<User> Host = new Bindable<User>();
|
|
|
|
public Bindable<RoomStatus> Status = new Bindable<RoomStatus>();
|
2018-05-22 11:24:39 +08:00
|
|
|
public Bindable<RoomAvailability> Availability = new Bindable<RoomAvailability>();
|
2018-04-13 17:19:50 +08:00
|
|
|
public Bindable<GameType> Type = new Bindable<GameType>();
|
|
|
|
public Bindable<BeatmapInfo> Beatmap = new Bindable<BeatmapInfo>();
|
|
|
|
public Bindable<int?> MaxParticipants = new Bindable<int?>();
|
2018-05-29 13:42:52 +08:00
|
|
|
public Bindable<IEnumerable<User>> Participants = new Bindable<IEnumerable<User>>();
|
2018-04-13 17:19:50 +08:00
|
|
|
}
|
|
|
|
}
|