JoinRoom(string, Action<bool, SWJoinRoomReply, SWLobbyError>) Method
Namespace: SWNetwork.Lobby
Called by players to begin an asynchronous operation to join a room in the Lobby server using the specified roomId. This method allows players to join both private and public rooms.

Declaration

1
public void JoinRoom(string roomId, Action<bool, SWJoinRoomReply, SWLobbyError> callback)
Copied!
Parameters
Type
Description
roomId
string
ID of the room to join.
callback
Action<bool,
The method to invoke when the join room operation is complete.
Last modified 2yr ago
Copy link