Exemple #1
0
        protected void SendToClient(NetworkPeerBase target, INetworkMessage message, bool reliable, byte channel)
        {
            var messageData = SerializeMessage(message, reliable, channel);

            if (messageData.Key != null)
            {
                target.SendEvent(messageData.Key, messageData.Value);
            }
        }
Exemple #2
0
 protected void SendToClient(NetworkPeerBase target, INetworkMessage message, bool reliable)
 {
     SendToClient(target, message, reliable, 0);
 }
Exemple #3
0
 protected void SendToClient(NetworkPeerBase target, INetworkMessage message)
 {
     SendToClient(target, message, true);
 }