Lobby
Last updated
Was this helpful?
Last updated
Was this helpful?
SocketWeaver currently has Lobby Clusters in four different regions. (Europe, North America East, and North America West). SocketWeaver routes players to the closest available Lobby Cluster by the geo-location information associated with the IP address of the player devices.
Class
SWLobby
You don't need to create a SWLobby object manually. NetworkClient automatically creates one if you provided a valid API_KEY. All the Lobby APIs can be accessed through NetworkClient.Lobby.
A connected player can be in one of the lobby states: Unregistered, Registered, and In Room.
In different lobby state, players can use different sets of APIs. Please see the picture below.
Rooms has 3 states: Default, Starting, and Room Set.