All pastes #991357 Raw Edit

Someone

public text v1 · immutable
#991357 ·published 2008-04-20 22:42 UTC
rendered paste body
Index: clientpackets/RequestEnchantItemAttribute.java
===================================================================
--- clientpackets/RequestEnchantItemAttribute.java	(revision 0)
+++ clientpackets/RequestEnchantItemAttribute.java	(revision 0)
@@ -0,0 +1,48 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ * 
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ * 
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package net.sf.l2j.gameserver.network.clientpackets;
+
+import net.sf.l2j.gameserver.network.L2GameClient;
+
+/**
+ * Format: ch d
+ * 
+ * @author  HanWik
+ */
+
+public class RequestEnchantItemAttribute extends L2GameClientPacket
+{
+    private static final String _C__D0_38_REQUESTENCHANTITEMATTRIBUTE = "[C] D0:38 RequestEnchantItemAttribute";
+
+    private int _itemObjId;
+
+    @Override
+    protected void readImpl()
+    {
+        _itemObjId = readD();
+    }
+
+    @Override
+    protected void runImpl()
+    {
+	// nothing yet
+    }
+
+    @Override
+    public String getType()
+    {
+        return _C__D0_38_REQUESTENCHANTITEMATTRIBUTE;
+    }
+}
\ No newline at end of file
Index: L2GamePacketHandler.java
===================================================================
--- L2GamePacketHandler.java	(revision 242)
+++ L2GamePacketHandler.java	(working copy)
@@ -803,6 +803,9 @@
 				case 0x36:
 					msg = new ExGetOnAirShip();
 					break;
+				case 0x38:
+					msg = new RequestEnchantItemAttribute();
+					break;
 				case 0x3f:
 					msg = new RequestAllCastleInfo();
 					break;