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

参数

msgType 要发送的消息 ID。
msg 要发送的消息。
channelId 用于发送消息的传输层通道。

返回

bool 如果消息已发送,则为 ture。

描述

此函数在连接上使用指定传输层通道发送网络消息。