summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-23 02:31:54 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-23 02:31:54 +0300
commit4d64a04f3dc37461344d83b972094b3d35e59ca8 (patch)
tree7562dea8831d9c749ff2a431943fcd0468dff0d2 /src/net/eathena/inventoryrecv.cpp
parentffd2832c4a84c534afa0302d03ae857f9a1c28e9 (diff)
downloadplus-4d64a04f3dc37461344d83b972094b3d35e59ca8.tar.gz
plus-4d64a04f3dc37461344d83b972094b3d35e59ca8.tar.bz2
plus-4d64a04f3dc37461344d83b972094b3d35e59ca8.tar.xz
plus-4d64a04f3dc37461344d83b972094b3d35e59ca8.zip
Add packet SMSG_MERGE_ITEM 0x096d.
Diffstat (limited to 'src/net/eathena/inventoryrecv.cpp')
-rw-r--r--src/net/eathena/inventoryrecv.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp
index d282af05e..b67300fa2 100644
--- a/src/net/eathena/inventoryrecv.cpp
+++ b/src/net/eathena/inventoryrecv.cpp
@@ -1180,4 +1180,13 @@ int InventoryRecv::getSlot(const int eAthenaSlot)
return CAST_S32(EQUIP_POINTS[position]);
}
+void InventoryRecv::processMergeItem(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ const int count = (msg.readInt16("len") - 4) / 2;
+ for (int f = 0; f < count; f ++)
+ msg.readInt16("inv index");
+}
+
} // namespace EAthena