Exemple #1
0
 public void OnPacketReceived(object sender, ClientPacketEventArgs e)
 {
     if (e.Packet is ConnectionPingPacket)
     {
         Globals.Client.Send(new ConnectionPingPacket((e.Packet as ConnectionPingPacket).Timestamp));
     }
 }
Exemple #2
0
 public void OnPacketReceived(object sender, ClientPacketEventArgs e)
 {
     if (e.Packet is ConnectionManagementPacket)
     {
         Environment.Exit(-1);
     }
 }
 public void OnPacketReceived(object sender, ClientPacketEventArgs e)
 {
     if (e.Packet is ConnectionManagementPacket)
     {
         Environment.Exit(-1);
     }
 }
 public void OnPacketReceived(object sender, ClientPacketEventArgs e)
 {
     if (e.Packet is ConnectionPingPacket)
         Globals.Client.Send(new ConnectionPingPacket((e.Packet as ConnectionPingPacket).Timestamp));
 }
 public void OnPacketReceived(object sender, ClientPacketEventArgs e)
 {
 }
Exemple #6
0
 void mainChannel_OnPacketReceived(object sender, ClientPacketEventArgs e)
 {
 }
        public void OnPacketReceived(object sender, ClientPacketEventArgs e)
        {

        }