com.onlineobject.objectnet Namespace

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

Retrieves the master player for a given lobby.

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

Syntax


public T GetMasterPlayer<T>(

	ushort lobby

)

where T : IPlayer

Type Parameters

T
The type of player to retrieve.

Parameters

lobby
Type: UInt16
The lobby ID to search within.

Return Value

The master player for the specified lobby.