Click or drag to resize

NetworkedBehaviourSendToClientTarget Method

Sends a buffer to a client with a given clientId from Server. Only handlers on this NetworkedBehaviour gets invoked

Namespace:  MLAPI
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
protected void SendToClientTarget(
	int clientId,
	string messageType,
	string channelName,
	byte[] data
)

Parameters

clientId
Type: SystemInt32
The clientId to send the message to
messageType
Type: SystemString
User defined messageType
channelName
Type: SystemString
User defined channelName
data
Type: SystemByte
The binary data to send
See Also