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) { 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) { }
void mainChannel_OnPacketReceived(object sender, ClientPacketEventArgs e) { }