Skip to main content
Version: 5.11.8

JoinGameRoom

public void JoinGameRoom(string roomToken);

Parameter

ValueTypeDescription
roomTokenstringToken for the room to enter(Room token received from OnMatchMakingResponse)

For more information on the token value required to connect to the game room, please refer to the game's documentation on information for connection to the in-game server.

Description

Connect to the game room.

  • It must be called after connecting to the in-game server.
  • If not all matched users connect to the game room within one minute, that game room will be terminated.
    In this case, users who are already connected to the game room will be disconnected from the in-game server.
  • The waiting room of the matching server and the game room of the in-game server are different from each other.

Example

Backend.Match.JoinGameRoom(roomToken);