Пример #1
0
 public void SendPacket(Packet packet)
 {
     SendData(packet.Serialize());
     if (PacketSent != null)
     {
         PacketSent(packet);
     }
 }
Пример #2
0
 public void SendPacket(Packet packet)
 {
     SendData(packet.Serialize());
     if (PacketSent != null)
         PacketSent(packet);
 }