2020-12-04 14:34:31 +08:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
2020-12-08 15:15:51 +08:00
|
|
|
#nullable enable
|
|
|
|
|
2020-12-04 14:34:31 +08:00
|
|
|
namespace osu.Game.Online.RealtimeMultiplayer
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The current overall state of a realtime multiplayer room.
|
|
|
|
/// </summary>
|
|
|
|
public enum MultiplayerRoomState
|
|
|
|
{
|
2020-12-08 17:30:58 +08:00
|
|
|
/// <summary>
|
|
|
|
/// The room is open and accepting new players.
|
|
|
|
/// </summary>
|
2020-12-04 14:34:31 +08:00
|
|
|
Open,
|
2020-12-08 17:30:58 +08:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A game start has been triggered but players have not finished loading.
|
|
|
|
/// </summary>
|
2020-12-04 14:34:31 +08:00
|
|
|
WaitingForLoad,
|
2020-12-08 17:30:58 +08:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A game is currently ongoing.
|
|
|
|
/// </summary>
|
2020-12-04 14:34:31 +08:00
|
|
|
Playing,
|
2020-12-08 17:30:58 +08:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The room has been disbanded and closed.
|
|
|
|
/// </summary>
|
2020-12-04 14:34:31 +08:00
|
|
|
Closed
|
|
|
|
}
|
|
|
|
}
|