Game Servers
Last updated
Last updated
When players in the same room finished the matchmaking process and are ready to play together, they need to connect to the game servers that are assigned for their room to use the SocketWeaver GamePlay API.
When players finished their match, they need to disconnect from the game servers.
You can use the ConnectToRoom(Action) and the DisconnectFromRoom() method to connect/disconnect clients from the game servers.
Methods
ConnectToRoom(Action<bool>)
Connects the local player to the room game servers.
DisconnectFromRoom()
Disconnects the local player from the room game servers.