diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-23 02:31:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-23 02:31:54 +0300 |
commit | 4d64a04f3dc37461344d83b972094b3d35e59ca8 (patch) | |
tree | 7562dea8831d9c749ff2a431943fcd0468dff0d2 /src/net/eathena/inventoryrecv.cpp | |
parent | ffd2832c4a84c534afa0302d03ae857f9a1c28e9 (diff) | |
download | manaverse-4d64a04f3dc37461344d83b972094b3d35e59ca8.tar.gz manaverse-4d64a04f3dc37461344d83b972094b3d35e59ca8.tar.bz2 manaverse-4d64a04f3dc37461344d83b972094b3d35e59ca8.tar.xz manaverse-4d64a04f3dc37461344d83b972094b3d35e59ca8.zip |
Add packet SMSG_MERGE_ITEM 0x096d.
Diffstat (limited to 'src/net/eathena/inventoryrecv.cpp')
-rw-r--r-- | src/net/eathena/inventoryrecv.cpp | 9 |
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 |