Steam Lobby Search

Runs a search for lobbies and displays the results by instantiating the "template" for each lobby found and parenting them to the "content".

Fields and Attributes

Party Wise

public bool partyWise;

If true, the search considers the current party lobby and ensures enough slots for each party member; otherwise uses the slots field.

Slots

public int slots;

Number of slots required for the search. If ≤0, the slot filter is ignored.

Distance

public ELobbyDistanceFilter distance;

The search radius to consider for lobbies.

Near Values

public List<NearFilter> nearValues;

Metadata values used to rank lobbies. Values closer to these will be weighted higher.

Numeric Filters

public List<NumericFilter> numericFilters;

Numeric metadata values to filter lobbies with standard comparison rules.

String Filters

public List<StringFilter> stringFilters;

String metadata values to filter lobbies.

Max Results

public int maxResults;

Maximum number of lobbies to return from the search (1–50).

Template

public SteamLobbyData template;

Prefab used to instantiate a lobby entry in the UI.

Content

public Transform content;

Parent transform where lobby entries will be spawned.

On Lobbies Found

public LobbyDataListEvent OnLobbiesFound;

Event invoked when the search completes, returning an array of matching LobbyData.

Functions

public void Search();

Performs a lobby search using the configured filters and settings. Instantiates UI entries for each found lobby and invokes OnLobbiesFound with the results.

Last updated