Method SendNamedMessage
SendNamedMessage(string, ulong, FastBufferWriter, NetworkDelivery)
Sends a named message
Declaration
public void SendNamedMessage(string messageName, ulong clientId, FastBufferWriter messageStream, NetworkDelivery networkDelivery = NetworkDelivery.ReliableSequenced)
Parameters
Type | Name | Description |
---|---|---|
string | messageName | The message name to send |
ulong | clientId | The client to send the message to |
FastBufferWriter | messageStream | The message stream containing the data |
NetworkDelivery | networkDelivery | The delivery type (QoS) to send data with |
SendNamedMessage(string, IReadOnlyList<ulong>, FastBufferWriter, NetworkDelivery)
Sends the named message
Declaration
public void SendNamedMessage(string messageName, IReadOnlyList<ulong> clientIds, FastBufferWriter messageStream, NetworkDelivery networkDelivery = NetworkDelivery.ReliableSequenced)
Parameters
Type | Name | Description |
---|---|---|
string | messageName | The message name to send |
IReadOnlyList<ulong> | clientIds | The clients to send to |
FastBufferWriter | messageStream | The message stream containing the data |
NetworkDelivery | networkDelivery | The delivery type (QoS) to send data with |