Table of Contents

Class LobbyLeftEventArgs

Namespace
SteamNetworkLib.Events
Assembly
SteamNetworkLib.dll

Provides data for the lobby left event. Contains information about the lobby that was left and the reason for leaving.

public class LobbyLeftEventArgs : EventArgs
Inheritance
LobbyLeftEventArgs
Inherited Members

Constructors

LobbyLeftEventArgs(CSteamID, string)

Initializes a new instance of the LobbyLeftEventArgs class.

public LobbyLeftEventArgs(CSteamID lobbyId, string reason = "")

Parameters

lobbyId CSteamID

The Steam ID of the lobby that was left.

reason string

The reason for leaving the lobby.

Properties

LobbyId

Gets the Steam ID of the lobby that was left.

public CSteamID LobbyId { get; }

Property Value

CSteamID

Reason

Gets the reason for leaving the lobby, or an empty string if no specific reason was provided.

public string Reason { get; }

Property Value

string