osu/osu.Game/Online/Multiplayer/Room.cs
2017-05-22 12:45:40 -03:00

27 lines
689 B
C#

// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
using osu.Game.Database;
using osu.Game.Users;
namespace osu.Game.Online.Multiplayer
{
public class Room
{
public string Name { get; set; }
public User Host { get; set; }
public MultiplayerRoomStatus Status { get; set; }
public BeatmapMetadata Beatmap { get; set; }
}
public enum MultiplayerRoomStatus
{
[Description(@"Welcoming Players")]
Open,
[Description(@"Now Playing")]
Playing,
}
}