com.onlineobject.objectnet Namespace

NetworkManager..::..GetPlayer<(Of <(<'T>)>)> Method (UInt16)

Retrieves a player by their ID.

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

Syntax


public T GetPlayer<T>(

	ushort id

)

where T : IPlayer, IPlayer

Type Parameters

T
The type of player to retrieve.

Parameters

id
Type: UInt16
The player's ID.

Return Value

The player with the specified ID.