diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-11 01:39:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-11 01:39:28 +0300 |
commit | f9274c991314efefbc2efeca0beaa561603095de (patch) | |
tree | 3ecb3cb0ca597ec90584c58629494f26fa28159a /src/net/eathena/mail2recv.cpp | |
parent | 302519fb539d17a10061d590f051a23633be6cc4 (diff) | |
download | manaverse-f9274c991314efefbc2efeca0beaa561603095de.tar.gz manaverse-f9274c991314efefbc2efeca0beaa561603095de.tar.bz2 manaverse-f9274c991314efefbc2efeca0beaa561603095de.tar.xz manaverse-f9274c991314efefbc2efeca0beaa561603095de.zip |
Add packet SMSG_RODEX_ADD_ITEM_RESULT 0x0a05.
Diffstat (limited to 'src/net/eathena/mail2recv.cpp')
-rw-r--r-- | src/net/eathena/mail2recv.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/net/eathena/mail2recv.cpp b/src/net/eathena/mail2recv.cpp index 30cf22cd4..8e7c00ba8 100644 --- a/src/net/eathena/mail2recv.cpp +++ b/src/net/eathena/mail2recv.cpp @@ -24,6 +24,8 @@ #include "net/messagein.h" +#include "const/resources/item/cards.h" + #include "debug.h" namespace EAthena @@ -42,4 +44,31 @@ void Mail2Recv::processOpenNewMailWindow(Net::MessageIn &msg) msg.readUInt8("result"); } +void Mail2Recv::processAddItemResult(Net::MessageIn &msg) +{ + UNIMPLEMENTEDPACKET; + msg.readUInt8("result"); + msg.readInt16("index"); + msg.readInt16("count"); + msg.readInt16("itid"); + msg.readUInt8("type"); + msg.readUInt8("identify"); + msg.readUInt8("damaged"); + msg.readUInt8("refine"); + for (int f = 0; f < maxCards; f++) + msg.readUInt16("card"); + for (int f = 0; f < 5; f ++) + { + msg.readInt16("option index"); + msg.readInt16("option value"); + msg.readUInt8("option param"); + } + msg.readInt16("weight"); + msg.readUInt8("unknown 1"); + msg.readUInt8("unknown 2"); + msg.readUInt8("unknown 3"); + msg.readUInt8("unknown 4"); + msg.readUInt8("unknown 5"); +} + } // namespace EAthena |