NetworkedBehaviourSendToClient Method |
Sends a buffer to a client with a given clientId from Server
Namespace:
MLAPI
Assembly:
MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxprotected void SendToClient(
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