namespace LobbyServerDto
{
///
/// Send when a lobby is created or updates, this contains the lobby information
///
[LobbyMessage]
public partial class LobbyInfo
{
///
/// Id of the lobby
///
public Guid Id { get; set; }
///
/// Displayname of the lobby
///
public string? Name { get; set; }
///
/// Game mode of the lobby
///
public int GameMode { get; set; }
///
/// Count of currently joined players in the lobby
///
public int PlayerCount { get; set; }
///
/// Max players allowed in the lobby
///
public int MaxPlayerCount { get; set; }
///
/// True if the lobby requires a password to gain access
///
public bool PasswordProtected { get; set; }
}
}