Steam Lobby Data Set

A specialised event set that is only raised when the Steam Lobby Data is updated. This is useful for creating lists of lobbies where you want to enable or disable UI elements based on the player's relationship to the given lobby.

Events

On Lobby Set

public UnityEvent<bool> onLobbySet;

Invoked whenever the lobby is set. Provides true if a valid lobby is assigned, false otherwise.

On Lobby Removed

public UnityEvent<bool> onLobbyRemoved;

Invoked whenever the lobby is removed. Provides true if the lobby was removed, false if it is still valid.

On Lobby ID Changed

public UnityEvent<string> onLobbyIdChanged;

Invoked whenever the lobby’s Hex ID changes. Provides the new Hex ID or an empty string if the lobby is invalid.

On Lobby Set Is Owner

public UnityEvent<bool> onLobbySetIsOwner;

Invoked when the lobby is set and the local user is the owner. Provides true if the local user is the owner.

On Lobby Set Is Not Owner

public UnityEvent<bool> onLobbySetIsNotOwner;

Invoked when the lobby is set and the local user is not the owner. Provides true if the local user is not the owner.

On Lobby Set Is Member

public UnityEvent<bool> onLobbySetIsMember;

Invoked when the lobby is set and the local user is a member. Provides true if the local user is a member of the lobby.

On Lobby Set Is Not a Member

public UnityEvent<bool> onLobbySetIsNotMember;

Invoked when the lobby is set and the local user is not a member. Provides true if the local user is not a member of the lobby.

Last updated