public NetSendResult SendMessage(NetOutgoingMessage msg, NetDeliveryMethod method, int sequenceChannel) { return m_peer.SendMessage(msg, this, method, sequenceChannel); }
/// <summary> /// Sends a message using the specified channel; takes ownership of the NetBuffer, don't reuse it after this call /// </summary> public void SendMessage(NetBuffer data, NetChannel channel) { if (m_serverConnection == null || m_serverConnection.Status != NetConnectionStatus.Connected) { throw new NetException("You must be connected first!"); } m_serverConnection.SendMessage(data, channel); }