MLAPI/docs/M_MLAPI_NetworkedBehaviour_SendToClients_2.md
2018-03-31 10:20:18 +02:00

1.1 KiB

NetworkedBehaviour.SendToClients Method (String, String, Byte[])

Sends a buffer to all clients from the server

Namespace: MLAPI
Assembly: MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

protected void SendToClients(
	string messageType,
	string channelName,
	byte[] data
)

Parameters

 

messageType
Type: System.String
User defined messageType
channelName
Type: System.String
User defined channelName
data
Type: System.Byte[]
The binary data to send

See Also

Reference

NetworkedBehaviour Class
SendToClients Overload
MLAPI Namespace