summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-01-26 00:50:16 +0300
committerAndrei Karas <akaras@inbox.ru>2019-01-26 00:50:16 +0300
commit02e860e7924d8a2fbccbf5e017625194c9744487 (patch)
tree71fef78e86c3910e8b7f63b86669fec09ed725b3 /src
parentb6d97f404432d9cf6c84538c4d5f6f14e078ade3 (diff)
downloadplus-02e860e7924d8a2fbccbf5e017625194c9744487.tar.gz
plus-02e860e7924d8a2fbccbf5e017625194c9744487.tar.bz2
plus-02e860e7924d8a2fbccbf5e017625194c9744487.tar.xz
plus-02e860e7924d8a2fbccbf5e017625194c9744487.zip
Add packet SMSG_ENCHANT_EQUIPMENT 0x0a3f
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/inventoryrecv.cpp8
-rw-r--r--src/net/eathena/inventoryrecv.h1
-rw-r--r--src/net/eathena/packetsin.inc16
3 files changed, 25 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp
index 0f18fe42b..8a0b88dec 100644
--- a/src/net/eathena/inventoryrecv.cpp
+++ b/src/net/eathena/inventoryrecv.cpp
@@ -1696,4 +1696,12 @@ void InventoryRecv::processInventoryExpansionResult(Net::MessageIn &msg)
msg.readUInt8("result");
}
+void InventoryRecv::processEnchantEquipment(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ msg.readInt16("wear state");
+ msg.readInt16("card slot");
+ msg.readItemId("item id");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/inventoryrecv.h b/src/net/eathena/inventoryrecv.h
index fd6ea071f..7ef4f628f 100644
--- a/src/net/eathena/inventoryrecv.h
+++ b/src/net/eathena/inventoryrecv.h
@@ -101,6 +101,7 @@ namespace EAthena
void processInventoryExpansionInfo(Net::MessageIn &msg);
void processInventoryExpansionAck(Net::MessageIn &msg);
void processInventoryExpansionResult(Net::MessageIn &msg);
+ void processEnchantEquipment(Net::MessageIn &msg);
} // namespace InventoryRecv
} // namespace EAthena
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index 1b32dab3b..275f29c10 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -1025,6 +1025,12 @@ if (packetVersion >= 20151104)
packet(CMSG_PLAYER_SELECT_STYLE_ACK, 0x0a47, 3, &PlayerRecv::processSelectStyleAck, 20151104);
}
+// 20151118 re
+if (packetVersionRe >= 20151118)
+{
+ packet(SMSG_ENCHANT_EQUIPMENT, 0x0a3f, 9, &InventoryRecv::processEnchantEquipment, 20151118);
+}
+
// 20151223
if (packetVersion >= 20151223)
{
@@ -1044,6 +1050,12 @@ if (packetVersion >= 20160622)
packet(SMSG_GUILD_BASIC_INFO, 0x0a84, 94, &GuildRecv::processGuildBasicInfo, 20160622);
}
+// 20160831 amin
+if (packetVersionMain >= 20160831)
+{
+ packet(SMSG_ENCHANT_EQUIPMENT, 0x0a3f, 9, &InventoryRecv::processEnchantEquipment, 20160831);
+}
+
// 20160921
if (packetVersion >= 20160921)
{
@@ -1212,6 +1224,7 @@ if (packets_zero == true)
packet(SMSG_PLAYER_SKILL_AUTO_SPELLS, 0x01cd, 30, &SkillRecv::processSkillAutoSpells1, 20171018);
packet(SMSG_CLAN_INFO, 0x098a, -1, &ClanRecv::processClanInfo, 20171018);
packet(SMSG_PRIVATE_AIRSHIP_RESPONSE, 0x0A4A, 6, &NpcRecv::processPrivateAirShipResponse, 20171018);
+ packet(SMSG_ENCHANT_EQUIPMENT, 0x0a3f, 9, &InventoryRecv::processEnchantEquipment, 20171018);
}
// 20171019 zero
@@ -1383,6 +1396,7 @@ if (packetVersionRe >= 20180704)
packet(SMSG_PLAYER_INVENTORY_ADD, 0x0a37, 69, &InventoryRecv::processPlayerInventoryAdd, 20180704);
packet(SMSG_ITEM_DROPPED, 0x0add, 24, &ItemRecv::processItemDropped, 20180704);
packet(SMSG_ITEM_PREVIEW1, 0x0ab9, 47, &InventoryRecv::processShowItemPreview1, 20180704);
+ packet(SMSG_ENCHANT_EQUIPMENT, 0x0a3f, 11, &InventoryRecv::processEnchantEquipment, 20180704);
}
// 20180801 re
@@ -1503,12 +1517,14 @@ if (packetVersionRe >= 20181114)
if (packetVersionZero >= 20181114)
{
packet(SMSG_HOMUNCULUS_INFO, 0x09f7, 77, &HomunculusRecv::processHomunculusInfo2, 20181114);
+ packet(SMSG_ENCHANT_EQUIPMENT, 0x0a3f, 11, &InventoryRecv::processEnchantEquipment, 20181114);
}
// 20181121 main
if (packetVersionMain >= 20181121)
{
packet(SMSG_HOMUNCULUS_INFO, 0x09f7, 77, &HomunculusRecv::processHomunculusInfo2, 20181121);
+ packet(SMSG_ENCHANT_EQUIPMENT, 0x0a3f, 11, &InventoryRecv::processEnchantEquipment, 20181121);
}
// 20181128 main