Steam Lobby Join

Provides features to join the user to a lobby and store the resulting lobby in the attached Steam Lobby Data

Fields and Attributes

Party Wise

public bool partyWise = false;

If true:

  • When joining a Party, leave any existing party lobby first.

  • When joining a Session, it notifies any existing Party of the new session lobby.


Functions

Request Join

public void RequestJoin(SteamLobbyJoin toRequest)

Requests that another SteamLobbyJoin component join the current lobby.

Join From Id String

public void JoinFromIdString(string id)

Joins a lobby using its string ID.

Join From Id Input Field

public void JoinFromIdInputField(TMPro.TMP_InputField input)

Joins a lobby using the value of a TMP_InputField as the lobby ID.

Join

public void Join(LobbyData lobby)

Joins the provided LobbyData lobby.

  • Automatically handles party logic if partyWise is enabled.

  • Invokes On Join on success or On Join Failed on failure.

Last updated