com.onlineobject.objectnet Namespace

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

Retrieves a player associated with a given client.

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

Syntax


public T GetPlayer<T>(

	IClient client

)

where T : IPlayer, IPlayer

Type Parameters

T
The type of player to retrieve.

Parameters

client
Type: com.onlineobject.objectnet..::..IClient
The client associated with the player.

Return Value

The player associated with the specified client.