diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-11 02:05:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-11 02:05:38 +0300 |
commit | 7edf8dfdda5a1a9d506773d78d224b801b3fb381 (patch) | |
tree | c77bb2a65f61c65e3ea3aac63da3ccc3e82f4544 /src/net | |
parent | f9274c991314efefbc2efeca0beaa561603095de (diff) | |
download | manaverse-7edf8dfdda5a1a9d506773d78d224b801b3fb381.tar.gz manaverse-7edf8dfdda5a1a9d506773d78d224b801b3fb381.tar.bz2 manaverse-7edf8dfdda5a1a9d506773d78d224b801b3fb381.tar.xz manaverse-7edf8dfdda5a1a9d506773d78d224b801b3fb381.zip |
Add packet SMSG_RODEX_REMOVE_ITEM_RESULT 0x0a07.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/mail2recv.cpp | 9 | ||||
-rw-r--r-- | src/net/eathena/mail2recv.h | 1 | ||||
-rw-r--r-- | src/net/eathena/packetsin.inc | 5 |
3 files changed, 14 insertions, 1 deletions
diff --git a/src/net/eathena/mail2recv.cpp b/src/net/eathena/mail2recv.cpp index 8e7c00ba8..6b8e99471 100644 --- a/src/net/eathena/mail2recv.cpp +++ b/src/net/eathena/mail2recv.cpp @@ -71,4 +71,13 @@ void Mail2Recv::processAddItemResult(Net::MessageIn &msg) msg.readUInt8("unknown 5"); } +void Mail2Recv::processRemoveItemResult(Net::MessageIn &msg) +{ + UNIMPLEMENTEDPACKET; + msg.readUInt8("result"); + msg.readInt16("index"); + msg.readInt16("count"); + msg.readInt16("weight"); +} + } // namespace EAthena diff --git a/src/net/eathena/mail2recv.h b/src/net/eathena/mail2recv.h index 4d0e8bc34..bdb9cf1ab 100644 --- a/src/net/eathena/mail2recv.h +++ b/src/net/eathena/mail2recv.h @@ -33,6 +33,7 @@ namespace EAthena void processMailIcon(Net::MessageIn &msg); void processOpenNewMailWindow(Net::MessageIn &msg); void processAddItemResult(Net::MessageIn &msg); + void processRemoveItemResult(Net::MessageIn &msg); } // namespace MailRecv } // namespace EAthena diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 988c6ca16..9f94b2441 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -789,7 +789,10 @@ if (packetVersion >= 20131223) } // 20140416 -packet(SMSG_RODEX_OPEN_NEW_MAIL_WINDOW, 0x0a12, 27, &Mail2Recv::processOpenNewMailWindow, 20140416); +packet(SMSG_RODEX_OPEN_NEW_MAIL_WINDOW, 0x0a12, 27, &Mail2Recv::processOpenNewMailWindow, 20140416); + +// 20140521 +packet(SMSG_RODEX_REMOVE_ITEM_RESULT, 0x0a07, 9, &Mail2Recv::processRemoveItemResult, 20140521); // 20140613 if (packetVersion >= 20140613) |