com.onlineobject.objectnet Namespace

NetworkPlayer Constructor

Constructs a new instance of a NetworkPlayer.

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

Syntax


public NetworkPlayer(

	ushort id,

	string name,

	IClient client

)

Parameters

id
Type: UInt16
The unique identifier for the player.
name
Type: String
The name of the player.
client
Type: com.onlineobject.objectnet..::..IClient
The network client associated with the player (optional).