com.onlineobject.objectnet Namespace

NetworkManager..::..GetFirstNoMasterPlayers<(Of <(<'T>)>)> Method

Retrieves the first non-master player from the specified lobby.

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

Syntax


public T GetFirstNoMasterPlayers<T>(

	ushort lobby

)

where T : IPlayer

Type Parameters

T
The type of player to return, must implement IPlayer.

Parameters

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

Return Value

The first non-master player of type T in the specified lobby, or default(T) if none found.