summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/inventoryrecv.cpp13
-rw-r--r--src/net/eathena/inventoryrecv.h2
-rw-r--r--src/net/eathena/packetsin.inc3
3 files changed, 18 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp
index 3f8dbb7b1..358aa2234 100644
--- a/src/net/eathena/inventoryrecv.cpp
+++ b/src/net/eathena/inventoryrecv.cpp
@@ -1534,4 +1534,17 @@ void InventoryRecv::processInventoryStart3(Net::MessageIn &msg)
msg.readString(nameLen, "inventory name");
}
+void InventoryRecv::processInventoryEnd1(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ msg.readUInt8("flag");
+}
+
+void InventoryRecv::processInventoryEnd2(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ msg.readUInt8("type");
+ msg.readUInt8("flag");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/inventoryrecv.h b/src/net/eathena/inventoryrecv.h
index 81436179e..9e4c3ce03 100644
--- a/src/net/eathena/inventoryrecv.h
+++ b/src/net/eathena/inventoryrecv.h
@@ -79,6 +79,8 @@ namespace EAthena
void processInventoryStart1(Net::MessageIn &msg);
void processInventoryStart2(Net::MessageIn &msg);
void processInventoryStart3(Net::MessageIn &msg);
+ void processInventoryEnd1(Net::MessageIn &msg);
+ void processInventoryEnd2(Net::MessageIn &msg);
int getSlot(const int eAthenaSlot) A_WARN_UNUSED;
} // namespace InventoryRecv
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index c2dab4b15..aef5536f6 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -1309,12 +1309,14 @@ if (packetVersionRe >= 20180801)
if (packetVersionRe >= 20180829)
{
packet(SMSG_INVENTORY_START1, 0x0b08, 26, &InventoryRecv::processInventoryStart1, 20180829);
+ packet(SMSG_INVENTORY_END1, 0x0b0b, 3, &InventoryRecv::processInventoryEnd1, 20180829);
}
// 20180912 re
if (packetVersionRe >= 20180912)
{
packet(SMSG_INVENTORY_START2, 0x0b08, 27, &InventoryRecv::processInventoryStart2, 20180912);
+ packet(SMSG_INVENTORY_END2, 0x0b0b, 4, &InventoryRecv::processInventoryEnd2, 20180912);
}
// 20180919 re
@@ -1327,6 +1329,7 @@ if (packetVersionRe >= 20180919)
if (packetVersionZero >= 20180919)
{
packet(SMSG_INVENTORY_START3, 0x0b08, -1, &InventoryRecv::processInventoryStart3, 20180919);
+ packet(SMSG_INVENTORY_END2, 0x0b0b, 4, &InventoryRecv::processInventoryEnd2, 20180919);
}
// 0