Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Method group is Obsolete

NetworkConnection.Send

Obsolete public bool Send(short msgType, MessageBase msg);

Parameters

msgTypeThe ID of the message to send.
msgThe message to send.

Returns

bool True if the message was sent.

Description

This sends a network message with a message ID on the connection. This message is sent on channel zero, which by default is the reliable channel.

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