com.onlineobject.objectnet Namespace

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

Retrieves a network object on the client side by its player ID.

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

Syntax


public T GetObjectOnClient<T>(

	ushort playerId

)

where T : INetworkElement, INetworkElement

Type Parameters

T
The type of the network element to retrieve.

Parameters

playerId
Type: UInt16
The player ID of the object to retrieve.

Return Value

The network object of type T, or default if not found.