/* Class408 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
package com.jagex;

public class OutgoingPacket {
	public static OutgoingPacket aClass408_4204;
	public static OutgoingPacket aClass408_4205;
	public static OutgoingPacket aClass408_4206;
	public static OutgoingPacket aClass408_4207;
	public static OutgoingPacket aClass408_4208;
	public static OutgoingPacket aClass408_4209;
	public static OutgoingPacket aClass408_4210;
	public static OutgoingPacket TAKE_GROUND_ITEM_PACKET;
	public static OutgoingPacket GC_COLLECTOR_PACKET;
	public static OutgoingPacket aClass408_4213;
	public static OutgoingPacket aClass408_4214;
	public static OutgoingPacket WALK_PACKET;
	public static OutgoingPacket SWITCH_INTERFACE_PACKET;
	public static OutgoingPacket aClass408_4217;
	public static OutgoingPacket aClass408_4218;
	public static OutgoingPacket aClass408_4219;
	public static OutgoingPacket aClass408_4220;
	public static OutgoingPacket aClass408_4221;
	public static OutgoingPacket aClass408_4222;
	public static OutgoingPacket aClass408_4223;
	public static OutgoingPacket SCREEN_PACKET;
	public static OutgoingPacket GROUND_ITEM_OPTION_2_PACKET;
	public static OutgoingPacket aClass408_4226;
	public static OutgoingPacket aClass408_4227;
	public static OutgoingPacket aClass408_4228;
	public static OutgoingPacket aClass408_4229;
	public static OutgoingPacket aClass408_4230;
	public static OutgoingPacket aClass408_4231;
	public static OutgoingPacket aClass408_4232;
	public static OutgoingPacket aClass408_4233;
	public static OutgoingPacket aClass408_4234;
	public static OutgoingPacket aClass408_4235;
	public static OutgoingPacket aClass408_4236;
	public static OutgoingPacket aClass408_4237;
	public static OutgoingPacket aClass408_4238;
	public static OutgoingPacket aClass408_4239;
	public static OutgoingPacket aClass408_4240;
	static OutgoingPacket aClass408_4241;
	public static OutgoingPacket NPC_EXAMINE_PACKET;
	public static OutgoingPacket aClass408_4243;
	public static OutgoingPacket aClass408_4244;
	public static OutgoingPacket aClass408_4245;
	public static OutgoingPacket aClass408_4246;
	public static OutgoingPacket WORLD_MAP_CLICK_PACKET;
	public static OutgoingPacket MINIMAP_WALK_PACKET;
	public static OutgoingPacket aClass408_4249;
	public static OutgoingPacket aClass408_4250;
	public static OutgoingPacket aClass408_4251;
	static OutgoingPacket aClass408_4252;
	public static OutgoingPacket CLOSE_INTERFACE_PACKET;
	public static OutgoingPacket OBJECT_EXAMINE_PACKET;
	public static OutgoingPacket aClass408_4255;
	public static OutgoingPacket NPC_CLICK_2_PACKET;
	public static OutgoingPacket aClass408_4257;
	public static OutgoingPacket aClass408_4258;
	public static OutgoingPacket aClass408_4259;
	public static OutgoingPacket aClass408_4260;
	public static OutgoingPacket aClass408_4261;
	public static OutgoingPacket aClass408_4262;
	public static OutgoingPacket aClass408_4263;
	public static OutgoingPacket aClass408_4264;
	public static OutgoingPacket aClass408_4265;
	public static OutgoingPacket aClass408_4266;
	public static OutgoingPacket aClass408_4267;
	public static OutgoingPacket aClass408_4268;
	public static OutgoingPacket ATTACK_NPC_PACKET;
	public static OutgoingPacket aClass408_4270;
	public static OutgoingPacket aClass408_4271;
	public static OutgoingPacket aClass408_4272;
	public static OutgoingPacket aClass408_4273;
	public static OutgoingPacket aClass408_4274;
	public static OutgoingPacket aClass408_4275;
	public static OutgoingPacket NPC_CLICK_3_PACKET;
	public static OutgoingPacket aClass408_4277;
	public static OutgoingPacket aClass408_4278;
	public static OutgoingPacket aClass408_4279;
	public static OutgoingPacket aClass408_4280;
	public static OutgoingPacket MOVE_CAMERA_PACKET;
	public static OutgoingPacket REQUEST_PLAY_MUSIC_PACKET;
	public static OutgoingPacket aClass408_4283;
	public static OutgoingPacket aClass408_4284;
	public static OutgoingPacket ENTER_INTEGER_PACKET;
	public static OutgoingPacket aClass408_4286;
	public static OutgoingPacket aClass408_4287;
	public static OutgoingPacket aClass408_4288;
	public static OutgoingPacket UPDATE_GAMEBAR_PACKET;
	public static OutgoingPacket OBJECT_CLICK_1_PACKET;
	public static OutgoingPacket aClass408_4291;
	public static OutgoingPacket aClass408_4292;
	public static OutgoingPacket aClass408_4293;
	public static OutgoingPacket aClass408_4294;
	static OutgoingPacket aClass408_4295;
	public static OutgoingPacket aClass408_4296;
	public static OutgoingPacket MUSIC_PACKET;
	public static OutgoingPacket aClass408_4298;
	public static OutgoingPacket aClass408_4299;
	public static OutgoingPacket aClass408_4300;
	public static OutgoingPacket aClass408_4301;
	public static OutgoingPacket aClass408_4302;
	public static OutgoingPacket aClass408_4303;
	public static OutgoingPacket aClass408_4304;
	public static OutgoingPacket aClass408_4305;
	public static OutgoingPacket aClass408_4306;
	public static OutgoingPacket aClass408_4307;
	public static OutgoingPacket aClass408_4308;
	public static OutgoingPacket aClass408_4309;
	public static OutgoingPacket aClass408_4310;
	public static OutgoingPacket INTERFACE_ON_OBJECT_PACKET;
	public static OutgoingPacket ACTION_BUTTON_7_PACKET;
	public static OutgoingPacket COMMANDS_PACKET;
	public static OutgoingPacket aClass408_4314;
	public static OutgoingPacket aClass408_4315;
	public static OutgoingPacket aClass408_4316;
	public static OutgoingPacket CONTINUE_DIALOGUE_PACKET;
	public static OutgoingPacket aClass408_4318;
	public static OutgoingPacket aClass408_4319;
	public static OutgoingPacket NPC_CLICK_1_PACKET;
	public static OutgoingPacket aClass408_4321;
	public static OutgoingPacket aClass408_4322;
	public static OutgoingPacket aClass408_4323;
	public static OutgoingPacket aClass408_4324;
	static OutgoingPacket aClass408_4325;
	public static OutgoingPacket aClass408_4326;
	int anInt4327;
	int anInt4328;

	static {
		GROUND_ITEM_OPTION_2_PACKET = new OutgoingPacket(0, 7);
		aClass408_4205 = new OutgoingPacket(1, 15);
		aClass408_4287 = new OutgoingPacket(2, 1);
		aClass408_4207 = new OutgoingPacket(3, -1);
		aClass408_4233 = new OutgoingPacket(4, 8);
		aClass408_4213 = new OutgoingPacket(5, -1);
		aClass408_4210 = new OutgoingPacket(6, 0);
		aClass408_4234 = new OutgoingPacket(7, 3);
		GC_COLLECTOR_PACKET = new OutgoingPacket(8, 4);
		aClass408_4283 = new OutgoingPacket(9, -1);
		aClass408_4208 = new OutgoingPacket(10, -1);
		WALK_PACKET = new OutgoingPacket(11, 5);
		SWITCH_INTERFACE_PACKET = new OutgoingPacket(12, 16);
		aClass408_4255 = new OutgoingPacket(13, -1);
		aClass408_4218 = new OutgoingPacket(14, 8);
		aClass408_4299 = new OutgoingPacket(15, 4);
		aClass408_4220 = new OutgoingPacket(16, -1);
		aClass408_4221 = new OutgoingPacket(17, 3);
		aClass408_4278 = new OutgoingPacket(18, 8);
		aClass408_4223 = new OutgoingPacket(19, 1);
		SCREEN_PACKET = new OutgoingPacket(20, 6);
		ACTION_BUTTON_7_PACKET = new OutgoingPacket(21, 8);
		aClass408_4227 = new OutgoingPacket(22, 0);
		aClass408_4316 = new OutgoingPacket(23, 8);
		aClass408_4228 = new OutgoingPacket(24, 7);
		aClass408_4229 = new OutgoingPacket(25, 1);
		TAKE_GROUND_ITEM_PACKET = new OutgoingPacket(26, 7);
		aClass408_4257 = new OutgoingPacket(27, 7);
		aClass408_4232 = new OutgoingPacket(28, 7);
		OBJECT_EXAMINE_PACKET = new OutgoingPacket(29, 9);
		aClass408_4309 = new OutgoingPacket(30, -2);
		aClass408_4235 = new OutgoingPacket(31, 8);
		aClass408_4236 = new OutgoingPacket(32, 11);
		aClass408_4237 = new OutgoingPacket(33, -1);
		aClass408_4238 = new OutgoingPacket(34, 2);
		aClass408_4239 = new OutgoingPacket(35, 2);
		OBJECT_CLICK_1_PACKET = new OutgoingPacket(36, 9);
		WORLD_MAP_CLICK_PACKET = new OutgoingPacket(37, 4);
		NPC_EXAMINE_PACKET = new OutgoingPacket(38, 3);
		aClass408_4243 = new OutgoingPacket(39, 9);
		aClass408_4244 = new OutgoingPacket(40, 9);
		aClass408_4245 = new OutgoingPacket(41, 9);
		aClass408_4246 = new OutgoingPacket(42, -1);
		aClass408_4273 = new OutgoingPacket(43, 3);
		MINIMAP_WALK_PACKET = new OutgoingPacket(44, 18);
		aClass408_4219 = new OutgoingPacket(45, 8);
		aClass408_4250 = new OutgoingPacket(46, -2);
		aClass408_4251 = new OutgoingPacket(47, 12);
		aClass408_4252 = new OutgoingPacket(48, -2);
		aClass408_4303 = new OutgoingPacket(49, 3);
		aClass408_4231 = new OutgoingPacket(50, 8);
		aClass408_4263 = new OutgoingPacket(51, -2);
		NPC_CLICK_2_PACKET = new OutgoingPacket(52, 3);
		aClass408_4294 = new OutgoingPacket(53, -1);
		aClass408_4258 = new OutgoingPacket(54, 3);
		aClass408_4259 = new OutgoingPacket(55, -1);
		CLOSE_INTERFACE_PACKET = new OutgoingPacket(56, 0);
		aClass408_4261 = new OutgoingPacket(57, 0);
		aClass408_4262 = new OutgoingPacket(58, -2);
		NPC_CLICK_1_PACKET = new OutgoingPacket(59, 3);
		aClass408_4295 = new OutgoingPacket(60, 1);
		NPC_CLICK_3_PACKET = new OutgoingPacket(61, 3);
		aClass408_4293 = new OutgoingPacket(62, 8);
		aClass408_4267 = new OutgoingPacket(63, 4);
		aClass408_4268 = new OutgoingPacket(64, 15);
		ATTACK_NPC_PACKET = new OutgoingPacket(65, 3);
		aClass408_4270 = new OutgoingPacket(66, -1);
		aClass408_4271 = new OutgoingPacket(67, 3);
		aClass408_4206 = new OutgoingPacket(68, 3);
		aClass408_4241 = new OutgoingPacket(69, 9);
		aClass408_4274 = new OutgoingPacket(70, 7);
		aClass408_4275 = new OutgoingPacket(71, -1);
		aClass408_4240 = new OutgoingPacket(72, 8);
		aClass408_4277 = new OutgoingPacket(73, 6);
		aClass408_4265 = new OutgoingPacket(74, -2);
		aClass408_4279 = new OutgoingPacket(75, -1);
		aClass408_4280 = new OutgoingPacket(76, 4);
		aClass408_4217 = new OutgoingPacket(77, 1);
		aClass408_4230 = new OutgoingPacket(78, 3);
		MOVE_CAMERA_PACKET = new OutgoingPacket(79, 4);
		aClass408_4260 = new OutgoingPacket(80, -1);
		ENTER_INTEGER_PACKET = new OutgoingPacket(81, 4);
		REQUEST_PLAY_MUSIC_PACKET = new OutgoingPacket(82, 4);
		aClass408_4226 = new OutgoingPacket(83, -2);
		UPDATE_GAMEBAR_PACKET = new OutgoingPacket(84, 3);
		aClass408_4214 = new OutgoingPacket(85, 11);
		aClass408_4302 = new OutgoingPacket(86, -2);
		aClass408_4291 = new OutgoingPacket(87, -1);
		aClass408_4292 = new OutgoingPacket(88, 3);
		aClass408_4204 = new OutgoingPacket(89, 5);
		aClass408_4222 = new OutgoingPacket(90, 9);
		aClass408_4288 = new OutgoingPacket(91, 2);
		aClass408_4296 = new OutgoingPacket(92, -1);
		MUSIC_PACKET = new OutgoingPacket(93, 4);
		aClass408_4298 = new OutgoingPacket(94, 7);
		aClass408_4284 = new OutgoingPacket(95, -1);
		aClass408_4300 = new OutgoingPacket(96, -1);
		aClass408_4301 = new OutgoingPacket(97, -1);
		aClass408_4321 = new OutgoingPacket(98, -1);
		aClass408_4266 = new OutgoingPacket(99, 9);
		aClass408_4304 = new OutgoingPacket(100, 3);
		aClass408_4305 = new OutgoingPacket(101, 3);
		aClass408_4306 = new OutgoingPacket(102, 16);
		aClass408_4307 = new OutgoingPacket(103, -1);
		aClass408_4308 = new OutgoingPacket(104, -2);
		aClass408_4286 = new OutgoingPacket(105, -1);
		aClass408_4310 = new OutgoingPacket(106, 0);
		INTERFACE_ON_OBJECT_PACKET = new OutgoingPacket(107, 17);
		aClass408_4209 = new OutgoingPacket(108, 4);
		COMMANDS_PACKET = new OutgoingPacket(109, -1);
		aClass408_4314 = new OutgoingPacket(110, 18);
		aClass408_4315 = new OutgoingPacket(111, -1);
		aClass408_4264 = new OutgoingPacket(112, -2);
		CONTINUE_DIALOGUE_PACKET = new OutgoingPacket(113, 6);
		aClass408_4318 = new OutgoingPacket(114, -1);
		aClass408_4319 = new OutgoingPacket(115, -1);
		aClass408_4249 = new OutgoingPacket(116, -1);
		aClass408_4272 = new OutgoingPacket(117, 1);
		aClass408_4322 = new OutgoingPacket(118, -2);
		aClass408_4323 = new OutgoingPacket(119, 0);
		aClass408_4324 = new OutgoingPacket(120, -1);
		aClass408_4325 = new OutgoingPacket(121, -2);
		aClass408_4326 = new OutgoingPacket(122, 4);
	}

	OutgoingPacket(int i, int i_0_) {
		anInt4327 = -1186604731 * i;
		anInt4328 = i_0_ * -1609814429;
	}

	public static byte[] method6623(CharSequence charsequence, int i) {
		int i_1_ = charsequence.length();
		byte[] is = new byte[i_1_];
		for (int i_2_ = 0; i_2_ < i_1_; i_2_++) {
			char c = charsequence.charAt(i_2_);
			if (c > 0 && c < '\u0080' || c >= '\u00a0' && c <= '\u00ff')
				is[i_2_] = (byte) c;
			else if (c == '\u20ac')
				is[i_2_] = (byte) -128;
			else if ('\u201a' == c)
				is[i_2_] = (byte) -126;
			else if (c == '\u0192')
				is[i_2_] = (byte) -125;
			else if (c == '\u201e')
				is[i_2_] = (byte) -124;
			else if ('\u2026' == c)
				is[i_2_] = (byte) -123;
			else if ('\u2020' == c)
				is[i_2_] = (byte) -122;
			else if ('\u2021' == c)
				is[i_2_] = (byte) -121;
			else if ('\u02c6' == c)
				is[i_2_] = (byte) -120;
			else if ('\u2030' == c)
				is[i_2_] = (byte) -119;
			else if ('\u0160' == c)
				is[i_2_] = (byte) -118;
			else if ('\u2039' == c)
				is[i_2_] = (byte) -117;
			else if ('\u0152' == c)
				is[i_2_] = (byte) -116;
			else if (c == '\u017d')
				is[i_2_] = (byte) -114;
			else if (c == '\u2018')
				is[i_2_] = (byte) -111;
			else if (c == '\u2019')
				is[i_2_] = (byte) -110;
			else if ('\u201c' == c)
				is[i_2_] = (byte) -109;
			else if ('\u201d' == c)
				is[i_2_] = (byte) -108;
			else if (c == '\u2022')
				is[i_2_] = (byte) -107;
			else if (c == '\u2013')
				is[i_2_] = (byte) -106;
			else if ('\u2014' == c)
				is[i_2_] = (byte) -105;
			else if ('\u02dc' == c)
				is[i_2_] = (byte) -104;
			else if (c == '\u2122')
				is[i_2_] = (byte) -103;
			else if (c == '\u0161')
				is[i_2_] = (byte) -102;
			else if ('\u203a' == c)
				is[i_2_] = (byte) -101;
			else if ('\u0153' == c)
				is[i_2_] = (byte) -100;
			else if ('\u017e' == c)
				is[i_2_] = (byte) -98;
			else if (c == '\u0178')
				is[i_2_] = (byte) -97;
			else
				is[i_2_] = (byte) 63;
		}
		return is;
	}

	static final void method6624(Class669 class669, byte i) {
		int i_3_ = (class669.anIntArray8557[(class669.anInt8558 -= 2138772399) * 1357652815]);
		class669.anIntArray8557[(class669.anInt8558 += 2138772399) * 1357652815 - 1] = (((ItemDefinitions) Class523_Sub37.aClass53_Sub8_10677.getDefinition(i_3_, (byte) 30)).value) * -22288111;
	}

	static final void method6625(Class669 class669, int i) {
		Class677 class677 = (class669.aBool8570 ? class669.aClass677_8566 : class669.aClass677_8574);
		InterfaceComponentDefinitions class250 = class677.aClass250_8638;
		Class242 class242 = class677.aClass242_8637;
		Class30.method894(class250, class242, class669, 701864869);
	}
}
