mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
27 lines
667 B
C#
27 lines
667 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 RoomStatus Status { get; set; }
|
|
public BeatmapMetadata Beatmap { get; set; }
|
|
}
|
|
|
|
public enum RoomStatus
|
|
{
|
|
[Description(@"Welcoming Players")]
|
|
Open,
|
|
|
|
[Description(@"Now Playing")]
|
|
Playing,
|
|
}
|
|
}
|