コード例 #1
0
 public void SendTo(NetConnection client, NetPacket packet)
 {
     client.Send(packet);
 }
コード例 #2
0
 /// <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);
 }