Exemple #1
0
 public void SendTo(NetConnection client, NetPacket packet)
 {
     client.Send(packet);
 }
 /// <summary>
 /// Send a packet to the client passed as parameter.
 /// </summary>
 /// <param name="destClient">Destination client</param>
 /// <param name="packet">Packet to send</param>
 public static void SendTo(NetConnection destClient, NetPacketBase packet)
 {
     destClient.Send(packet);
 }