2020-12-04 06:34:31 +00: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 07:15:51 +00:00
|
|
|
#nullable enable
|
|
|
|
|
2020-12-25 04:38:11 +00:00
|
|
|
namespace osu.Game.Online.Multiplayer
|
2020-12-04 06:34:31 +00:00
|
|
|
{
|
|
|
|
/// <summary>
|
2020-12-25 04:38:11 +00:00
|
|
|
/// The current overall state of a multiplayer room.
|
2020-12-04 06:34:31 +00:00
|
|
|
/// </summary>
|
|
|
|
public enum MultiplayerRoomState
|
|
|
|
{
|
2020-12-08 09:30:58 +00:00
|
|
|
/// <summary>
|
|
|
|
/// The room is open and accepting new players.
|
|
|
|
/// </summary>
|
2020-12-04 06:34:31 +00:00
|
|
|
Open,
|
2020-12-08 09:30:58 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A game start has been triggered but players have not finished loading.
|
|
|
|
/// </summary>
|
2020-12-04 06:34:31 +00:00
|
|
|
WaitingForLoad,
|
2020-12-08 09:30:58 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A game is currently ongoing.
|
|
|
|
/// </summary>
|
2020-12-04 06:34:31 +00:00
|
|
|
Playing,
|
2020-12-08 09:30:58 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The room has been disbanded and closed.
|
|
|
|
/// </summary>
|
2020-12-04 06:34:31 +00:00
|
|
|
Closed
|
|
|
|
}
|
|
|
|
}
|