com.onlineobject.objectnet Namespace

NetworkLobby Members

The NetworkLobby type exposes the following members.

Constructors


  Name Description
Public method NetworkLobby
Constructs a new NetworkLobby instance with a specified ID and optional name.

Methods


  Name Description
Public method ClearPlayers
Clears all players from the lobby.
Public method GetLobbyId
Retrieves the lobby's unique identifier.
Public method GetLobbyName
Retrieves the lobby's name.
Public method GetPlayers
Retrieves an array of all registered players in the lobby.
Public method IsPlayerRegistered
Checks if a player is registered in the lobby.
Public method RegisterPlayer
Registers a player to the lobby if they are not already registered.
Public method UnregisterPlayer
Unregisters a player from the lobby if they are registered.