Skip to main content
Version: 5.7.0

SendToAll

Send a packet to all except yourself.

Method Parameters

ParameterDescription
dataByte array for the data to send
sizeSize of data in bytes
reliableSend this reliably or not
orderedReceived this ordered or not
channelOne of: (CHANNEL_HIGH_PRIORITY_1, CHANNEL_HIGH_PRIORITY_2, CHANNEL_NORMAL_PRIORITY, CHANNEL_LOW_PRIORITY)

Usage

http://localhost:3000
RSDataCallback rsDataCallback = (response) =>
{
Debug.Log(string.Format("Success | {0}", response));
};

_bc.RelayService.SendToAll(data, size, reliable, ordered, channel);