Method SendUnnamedMessage
SendUnnamedMessage(IReadOnlyList<ulong>, FastBufferWriter, NetworkDelivery)
Sends unnamed message to a list of clients
Declaration
public void SendUnnamedMessage(IReadOnlyList<ulong> clientIds, FastBufferWriter messageBuffer, NetworkDelivery networkDelivery = NetworkDelivery.ReliableSequenced)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyList<ulong> | clientIds | The clients to send to, sends to everyone if null |
FastBufferWriter | messageBuffer | The message stream containing the data |
NetworkDelivery | networkDelivery | The delivery type (QoS) to send data with |
SendUnnamedMessage(ulong, FastBufferWriter, NetworkDelivery)
Sends a unnamed message to a specific client
Declaration
public void SendUnnamedMessage(ulong clientId, FastBufferWriter messageBuffer, NetworkDelivery networkDelivery = NetworkDelivery.ReliableSequenced)
Parameters
Type | Name | Description |
---|---|---|
ulong | clientId | The client to send the message to |
FastBufferWriter | messageBuffer | The message stream containing the data |
NetworkDelivery | networkDelivery | The delivery type (QoS) to send data with |