Пример #1
0
 public packetReceivedEventArgs(Packet pack, int ID)
 {
     this.packet = pack;
     this.Type = (PacketType)ID;
 }
Пример #2
0
 public void sendPacket(Packet pack)
 {
     if (loggedin)
         lock (packets)
             packets.Enqueue(pack);
 }