JoinOrCreateRoom(bool, int, int, Action<bool, SWJoinRoomReply, SWLobbyError>) Method

Namespace: SWNetwork.Lobby

Called by players to begin an asynchronous operation to randomly join a room in the Lobby server. If no available rooms were found, The player will create a new room with the specified wantRT, playerLimit, and player TTL. This method allows players to join the public rooms.

Declaration

public void JoinOrCreateRoom(bool wantRT, int playerLimit, int playerTimeToLive, Action<bool, SWJoinRoomReply, SWLobbyError> callback)

Last updated