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-06-01 17:15:23 +08:00
|
|
|
using System.Collections.Generic;
|
2018-12-03 19:50:40 +08:00
|
|
|
using System.Linq;
|
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
|
|
|
|
{
|
2018-12-03 17:30:26 +08:00
|
|
|
public Bindable<string> Name = new Bindable<string>("My awesome room!");
|
2018-04-13 17:19:50 +08:00
|
|
|
public Bindable<User> Host = new Bindable<User>();
|
2018-12-03 17:30:26 +08:00
|
|
|
public Bindable<RoomStatus> Status = new Bindable<RoomStatus>(new RoomStatusOpen());
|
2018-05-22 11:24:39 +08:00
|
|
|
public Bindable<RoomAvailability> Availability = new Bindable<RoomAvailability>();
|
2018-12-04 17:58:45 +08:00
|
|
|
public Bindable<GameType> Type = new Bindable<GameType>(new GameTypeTimeshift());
|
2018-04-13 17:19:50 +08:00
|
|
|
public Bindable<BeatmapInfo> Beatmap = new Bindable<BeatmapInfo>();
|
|
|
|
public Bindable<int?> MaxParticipants = new Bindable<int?>();
|
2018-12-03 19:50:40 +08:00
|
|
|
public Bindable<IEnumerable<User>> Participants = new Bindable<IEnumerable<User>>(Enumerable.Empty<User>());
|
2018-04-13 17:19:50 +08:00
|
|
|
}
|
|
|
|
}
|