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
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.
PreviousFilterRoom(SWLobbyFilterData, byte, Action<bool, SWGetRoomFilterReply, SWLobbyError>) MethodNextJoinRoomRandomly(Action<bool, SWJoinRoomReply, SWLobbyError>) Method
Last updated
Was this helpful?