Table of Contents

Class LobbyInfo

Namespace
SteamNetworkLib.Models
Assembly
SteamNetworkLib.dll

Represents information about a Steam lobby including its metadata and current state. Contains all essential details needed to identify and manage a lobby session.

public class LobbyInfo
Inheritance
LobbyInfo
Inherited Members

Constructors

LobbyInfo()

Initializes a new instance of the LobbyInfo class. Sets the creation time to the current local time.

public LobbyInfo()

Properties

CreatedAt

Gets or sets when the lobby was created or when it was joined locally. Used for tracking session duration and ordering lobby lists.

public DateTime CreatedAt { get; set; }

Property Value

DateTime

LobbyId

Gets or sets the unique Steam ID of the lobby. This is the primary identifier used for all lobby operations.

public CSteamID? LobbyId { get; set; }

Property Value

CSteamID

MaxMembers

Gets or sets the maximum number of members allowed in the lobby. This limit is set when the lobby is created and determines capacity.

public int MaxMembers { get; set; }

Property Value

int

MemberCount

Gets or sets the current number of members in the lobby. This count includes all connected players including the host.

public int MemberCount { get; set; }

Property Value

int

Name

Gets or sets the display name or title of the lobby. This is an optional human-readable identifier for the lobby.

public string? Name { get; set; }

Property Value

string

OwnerId

Gets or sets the Steam ID of the lobby owner (host). The owner has special privileges like changing lobby settings and kicking members.

public CSteamID? OwnerId { get; set; }

Property Value

CSteamID