com.onlineobject.objectnet Namespace

NetworkManager..::..SpawnClientPlayerOnServer Method

Spawns a client player on the server.

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

Syntax


public GameObject SpawnClientPlayerOnServer(

	IClient client,

	int connectionId,

	ushort playerId

)

Parameters

client
Type: com.onlineobject.objectnet..::..IClient
The client interface.
connectionId
Type: Int32
The connection ID of the player.
playerId
Type: UInt16
The ID of the player (default is 0).

Return Value

The spawned player GameObject.