com.onlineobject.objectnet Namespace

NetworkManager..::..GetPlayersCount Method

Gets the count of players in the specified lobby.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public int GetPlayersCount(

	ushort lobby

)

Parameters

lobby
Type: UInt16
The lobby ID to check, default is 0.

Return Value

The number of players in the lobby.