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

1.4 KiB

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

Sends a buffer to multiple 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(
	List<int> clientIds,
	string messageType,
	string channelName,
	byte[] data
)

Parameters

 

clientIds
Type: System.Collections.Generic.List(Int32)
The clientId's to send to
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