summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-11 16:06:11 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-11 16:06:11 +0300
commit1717d7a8a4d8f4695cf38950aeffd41c7d10c3a7 (patch)
tree9818bddfa54b892bacd2841d3975a10cbf9cd459
parent94226692bc1a79eb35881ac37f9c7ffc825b4b2f (diff)
downloadplus-1717d7a8a4d8f4695cf38950aeffd41c7d10c3a7.tar.gz
plus-1717d7a8a4d8f4695cf38950aeffd41c7d10c3a7.tar.bz2
plus-1717d7a8a4d8f4695cf38950aeffd41c7d10c3a7.tar.xz
plus-1717d7a8a4d8f4695cf38950aeffd41c7d10c3a7.zip
Add packet SMSG_RODEX_REQUEST_ITEMS 0x09f4.
-rw-r--r--src/net/eathena/mail2recv.cpp8
-rw-r--r--src/net/eathena/mail2recv.h1
-rw-r--r--src/net/eathena/packetsin.inc1
3 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/mail2recv.cpp b/src/net/eathena/mail2recv.cpp
index a7197cf4c..ec5f8d6a8 100644
--- a/src/net/eathena/mail2recv.cpp
+++ b/src/net/eathena/mail2recv.cpp
@@ -161,4 +161,12 @@ void Mail2Recv::processRequestMoney(Net::MessageIn &msg)
msg.readUInt8("result");
}
+void Mail2Recv::processRequestItems(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ msg.readInt64("mail id");
+ msg.readUInt8("open type");
+ msg.readUInt8("result");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/mail2recv.h b/src/net/eathena/mail2recv.h
index 485985d50..4462d2579 100644
--- a/src/net/eathena/mail2recv.h
+++ b/src/net/eathena/mail2recv.h
@@ -40,6 +40,7 @@ namespace EAthena
void processReadMail(Net::MessageIn &msg);
void processMailDelete(Net::MessageIn &msg);
void processRequestMoney(Net::MessageIn &msg);
+ void processRequestItems(Net::MessageIn &msg);
} // namespace MailRecv
} // namespace EAthena
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index e3f6dbc03..36a78afe9 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -797,6 +797,7 @@ packet(SMSG_RODEX_SEND_RESULT, 0x09ed, 3, &Mail2Recv::processSendR
// 20140409
packet(SMSG_RODEX_REQUEST_MONEY, 0x09f2, 12, &Mail2Recv::processRequestMoney, 20140409);
+packet(SMSG_RODEX_REQUEST_ITEMS, 0x09f4, 12, &Mail2Recv::processRequestItems, 20140409);
// 20140115
packet(SMSG_RODEX_READ_MAIL, 0x09eb, -1, &Mail2Recv::processReadMail, 20140115);