Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

NetworkConnection.SendByChannel

public bool SendByChannel(short msgType, Networking.MessageBase msg, int channelId);

Parameters

msgTypeThe message ID to send.
msgThe message to send.
channelIdThe transport layer channel to send on.

Returns

bool True if the message was sent.

Description

This sends a network message on the connection using a specific transport layer channel.

Did you find this page useful? Please give it a rating: