import java.io.IOException;
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;

@ObfuscatedName("iu")
@Implements("ClientPacket")
public class ClientPacket implements class251 {
	@ObfuscatedName("c")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2855;
	@ObfuscatedName("b")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2803;
	@ObfuscatedName("p")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2804;
	@ObfuscatedName("m")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2805;
	@ObfuscatedName("t")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	static final ClientPacket field2806;
	@ObfuscatedName("s")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2847;
	@ObfuscatedName("j")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2808;
	@ObfuscatedName("w")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2861;
	@ObfuscatedName("n")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2853;
	@ObfuscatedName("r")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2837;
	@ObfuscatedName("o")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2830;
	@ObfuscatedName("v")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2880;
	@ObfuscatedName("d")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2814;
	@ObfuscatedName("h")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2815;
	@ObfuscatedName("g")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2816;
	@ObfuscatedName("e")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2809;
	@ObfuscatedName("a")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2891;
	@ObfuscatedName("u")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2819;
	@ObfuscatedName("k")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2820;
	@ObfuscatedName("f")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2821;
	@ObfuscatedName("l")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2822;
	@ObfuscatedName("q")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2823;
	@ObfuscatedName("x")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2829;
	@ObfuscatedName("z")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2825;
	@ObfuscatedName("i")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2836;
	@ObfuscatedName("y")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2862;
	@ObfuscatedName("ah")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2828;
	@ObfuscatedName("ao")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2838;
	@ObfuscatedName("ab")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2831;
	@ObfuscatedName("an")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2834;
	@ObfuscatedName("ax")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	static final ClientPacket field2832;
	@ObfuscatedName("am")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2833;
	@ObfuscatedName("az")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2811;
	@ObfuscatedName("au")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2868;
	@ObfuscatedName("av")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2835;
	@ObfuscatedName("ap")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2894;
	@ObfuscatedName("ac")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2857;
	@ObfuscatedName("aj")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2839;
	@ObfuscatedName("af")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2840;
	@ObfuscatedName("ar")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2882;
	@ObfuscatedName("ag")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2842;
	@ObfuscatedName("al")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2843;
	@ObfuscatedName("aa")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2844;
	@ObfuscatedName("as")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2802;
	@ObfuscatedName("at")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2846;
	@ObfuscatedName("ai")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2841;
	@ObfuscatedName("aq")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2827;
	@ObfuscatedName("aw")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2807;
	@ObfuscatedName("ay")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2824;
	@ObfuscatedName("ae")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2851;
	@ObfuscatedName("ak")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2852;
	@ObfuscatedName("ad")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2845;
	@ObfuscatedName("bp")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2854;
	@ObfuscatedName("bd")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2826;
	@ObfuscatedName("ba")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2856;
	@ObfuscatedName("bq")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2848;
	@ObfuscatedName("bg")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	static final ClientPacket field2858;
	@ObfuscatedName("br")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2859;
	@ObfuscatedName("bi")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2860;
	@ObfuscatedName("bm")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2812;
	@ObfuscatedName("bw")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2849;
	@ObfuscatedName("bl")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2863;
	@ObfuscatedName("bz")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2810;
	@ObfuscatedName("bu")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2865;
	@ObfuscatedName("bs")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2866;
	@ObfuscatedName("bv")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2867;
	@ObfuscatedName("bb")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2817;
	@ObfuscatedName("bc")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2869;
	@ObfuscatedName("bx")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2870;
	@ObfuscatedName("bt")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2901;
	@ObfuscatedName("bh")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2872;
	@ObfuscatedName("bn")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2873;
	@ObfuscatedName("bj")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2874;
	@ObfuscatedName("by")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2864;
	@ObfuscatedName("bk")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2876;
	@ObfuscatedName("bo")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2877;
	@ObfuscatedName("bf")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2818;
	@ObfuscatedName("be")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2879;
	@ObfuscatedName("ce")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2893;
	@ObfuscatedName("cl")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	static final ClientPacket field2881;
	@ObfuscatedName("cp")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2850;
	@ObfuscatedName("cd")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2883;
	@ObfuscatedName("ck")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2884;
	@ObfuscatedName("cg")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2885;
	@ObfuscatedName("cy")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2886;
	@ObfuscatedName("cn")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2887;
	@ObfuscatedName("cv")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2888;
	@ObfuscatedName("co")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2890;
	@ObfuscatedName("cc")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2871;
	@ObfuscatedName("cs")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2904;
	@ObfuscatedName("cr")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2892;
	@ObfuscatedName("cb")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2889;
	@ObfuscatedName("cj")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2813;
	@ObfuscatedName("ca")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2895;
	@ObfuscatedName("cz")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2896;
	@ObfuscatedName("cw")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2897;
	@ObfuscatedName("ct")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2898;
	@ObfuscatedName("ci")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2899;
	@ObfuscatedName("ch")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	static final ClientPacket field2900;
	@ObfuscatedName("cq")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2878;
	@ObfuscatedName("cf")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2902;
	@ObfuscatedName("cu")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2903;
	@ObfuscatedName("cx")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2875;
	@ObfuscatedName("cm")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2905;
	@ObfuscatedName("dm")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2906;
	@ObfuscatedName("dr")
	@ObfuscatedSignature(
		descriptor = "Liu;"
	)
	public static final ClientPacket field2907;
	@ObfuscatedName("ds")
	@ObfuscatedGetter(
		intValue = -94628489
	)
	@Export("id")
	final int id;
	@ObfuscatedName("dv")
	@ObfuscatedGetter(
		intValue = -1390641219
	)
	@Export("length")
	final int length;

	static {
		field2855 = new ClientPacket(0, 3);
		field2803 = new ClientPacket(1, 8);
		field2804 = new ClientPacket(2, 16);
		field2805 = new ClientPacket(3, -1);
		field2806 = new ClientPacket(4, -1);
		field2847 = new ClientPacket(5, 8);
		field2808 = new ClientPacket(6, 2);
		field2861 = new ClientPacket(7, 1);
		field2853 = new ClientPacket(8, 8);
		field2837 = new ClientPacket(9, 0);
		field2830 = new ClientPacket(10, 8);
		field2880 = new ClientPacket(11, 8);
		field2814 = new ClientPacket(12, 0);
		field2815 = new ClientPacket(13, 2);
		field2816 = new ClientPacket(14, 16);
		field2809 = new ClientPacket(15, 16);
		field2891 = new ClientPacket(16, 8);
		field2819 = new ClientPacket(17, 9);
		field2820 = new ClientPacket(18, 11);
		field2821 = new ClientPacket(19, 8);
		field2822 = new ClientPacket(20, 8);
		field2823 = new ClientPacket(21, 7);
		field2829 = new ClientPacket(22, 2);
		field2825 = new ClientPacket(23, 4);
		field2836 = new ClientPacket(24, 7);
		field2862 = new ClientPacket(25, 4);
		field2828 = new ClientPacket(26, -1);
		field2838 = new ClientPacket(27, 7);
		field2831 = new ClientPacket(28, 15);
		field2834 = new ClientPacket(29, 8);
		field2832 = new ClientPacket(30, -1);
		field2833 = new ClientPacket(31, 8);
		field2811 = new ClientPacket(32, 9);
		field2868 = new ClientPacket(33, 7);
		field2835 = new ClientPacket(34, 15);
		field2894 = new ClientPacket(35, 6);
		field2857 = new ClientPacket(36, -1);
		field2839 = new ClientPacket(37, 3);
		field2840 = new ClientPacket(38, 11);
		field2882 = new ClientPacket(39, 15);
		field2842 = new ClientPacket(40, 4);
		field2843 = new ClientPacket(41, 8);
		field2844 = new ClientPacket(42, 8);
		field2802 = new ClientPacket(43, 8);
		field2846 = new ClientPacket(44, -1);
		field2841 = new ClientPacket(45, -2);
		field2827 = new ClientPacket(46, 3);
		field2807 = new ClientPacket(47, 3);
		field2824 = new ClientPacket(48, 5);
		field2851 = new ClientPacket(49, -1);
		field2852 = new ClientPacket(50, -1);
		field2845 = new ClientPacket(51, -1);
		field2854 = new ClientPacket(52, -1);
		field2826 = new ClientPacket(53, 7);
		field2856 = new ClientPacket(54, 7);
		field2848 = new ClientPacket(55, 0);
		field2858 = new ClientPacket(56, 7);
		field2859 = new ClientPacket(57, -1);
		field2860 = new ClientPacket(58, -1);
		field2812 = new ClientPacket(59, 3);
		field2849 = new ClientPacket(60, -2);
		field2863 = new ClientPacket(61, 3);
		field2810 = new ClientPacket(62, 8);
		field2865 = new ClientPacket(63, 3);
		field2866 = new ClientPacket(64, 8);
		field2867 = new ClientPacket(65, 0);
		field2817 = new ClientPacket(66, 8);
		field2869 = new ClientPacket(67, 4);
		field2870 = new ClientPacket(68, 7);
		field2901 = new ClientPacket(69, 11);
		field2872 = new ClientPacket(70, 3);
		field2873 = new ClientPacket(71, 6);
		field2874 = new ClientPacket(72, 8);
		field2864 = new ClientPacket(73, 11);
		field2876 = new ClientPacket(74, 3);
		field2877 = new ClientPacket(75, 8);
		field2818 = new ClientPacket(76, 7);
		field2879 = new ClientPacket(77, 4);
		field2893 = new ClientPacket(78, -1);
		field2881 = new ClientPacket(79, 2);
		field2850 = new ClientPacket(80, 15);
		field2883 = new ClientPacket(81, 7);
		field2884 = new ClientPacket(82, 8);
		field2885 = new ClientPacket(83, 3);
		field2886 = new ClientPacket(84, 14);
		field2887 = new ClientPacket(85, 3);
		field2888 = new ClientPacket(86, -1);
		field2890 = new ClientPacket(87, 10);
		field2871 = new ClientPacket(88, 8);
		field2904 = new ClientPacket(89, 13);
		field2892 = new ClientPacket(90, 3);
		field2889 = new ClientPacket(91, -1);
		field2813 = new ClientPacket(92, 3);
		field2895 = new ClientPacket(93, -1);
		field2896 = new ClientPacket(94, 7);
		field2897 = new ClientPacket(95, -1);
		field2898 = new ClientPacket(96, 0);
		field2899 = new ClientPacket(97, -2);
		field2900 = new ClientPacket(98, -1);
		field2878 = new ClientPacket(99, -1);
		field2902 = new ClientPacket(100, 2);
		field2903 = new ClientPacket(101, -1);
		field2875 = new ClientPacket(102, -1);
		field2905 = new ClientPacket(103, -1);
		field2906 = new ClientPacket(104, 3);
		field2907 = new ClientPacket(105, -1);
	}

	ClientPacket(int var1, int var2) {
		this.id = var1;
		this.length = var2;
	}

	@ObfuscatedName("hy")
	@ObfuscatedSignature(
		descriptor = "(ZI)V",
		garbageValue = "1131418917"
	)
	static final void method5001(boolean var0) {
		class148.playPcmPlayers();
		++Client.packetWriter.pendingWrites;
		if (Client.packetWriter.pendingWrites >= 50 || var0) {
			Client.packetWriter.pendingWrites = 0;
			if (!Client.hadNetworkError && Client.packetWriter.getSocket() != null) {
				PacketBufferNode var1 = HitSplatDefinition.getPacketBufferNode(field2814, Client.packetWriter.isaacCipher);
				Client.packetWriter.addNode(var1);

				try {
					Client.packetWriter.flush();
				} catch (IOException var3) {
					Client.hadNetworkError = true;
				}
			}

		}
	}
}
