示例#1
0
 public void OnPacketReceived(object sender, ClientPacketEventArgs e)
 {
     if (e.Packet is ConnectionPingPacket)
     {
         Globals.Client.Send(new ConnectionPingPacket((e.Packet as ConnectionPingPacket).Timestamp));
     }
 }
示例#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);
     }
 }
示例#4
0
 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)
 {
 }
示例#6
0
 void mainChannel_OnPacketReceived(object sender, ClientPacketEventArgs e)
 {
 }
示例#7
0
        public void OnPacketReceived(object sender, ClientPacketEventArgs e)
        {

        }