コード例 #1
0
 public void SendMessage(NetworkingMessages.Messages.NetworkMessage msg, NetDeliveryMethod method, int channel)
 {
     if (SocketClient == null)
     {
         return;
     }
     SocketClient.SendMessage(NetworkingMessages.MessageFactory.PackMessage(SocketClient.CreateMessage(), msg), method, channel);
 }
コード例 #2
0
 public void SendMessage(NetworkingMessages.Messages.NetworkMessage msg)
 {
     SendMessage(msg, NetDeliveryMethod.ReliableOrdered, 1);
 }