NetworkedBehaviourSendToClientsTarget Method (Int32, String, String, Byte) |
Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
Namespace:
MLAPI
Assembly:
MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxprotected void SendToClientsTarget(
int[] clientIds,
string messageType,
string channelName,
byte[] data
)
Parameters
- clientIds
- Type: SystemInt32
The clientId's to send to - messageType
- Type: SystemString
User defined messageType - channelName
- Type: SystemString
User defined channelName - data
- Type: SystemByte
The binary data to send
See Also