NetworkLobby Members
The NetworkLobby type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NetworkLobby |
Constructs a new NetworkLobby instance with a specified ID and optional name.
|
Methods
Name | Description | |
---|---|---|
ClearPlayers |
Clears all players from the lobby.
|
|
GetLobbyId |
Retrieves the lobby's unique identifier.
|
|
GetLobbyName |
Retrieves the lobby's name.
|
|
GetPlayers |
Retrieves an array of all registered players in the lobby.
|
|
IsPlayerRegistered |
Checks if a player is registered in the lobby.
|
|
RegisterPlayer |
Registers a player to the lobby if they are not already registered.
|
|
UnregisterPlayer |
Unregisters a player from the lobby if they are registered.
|