summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-11 16:01:56 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-11 16:01:56 +0300
commit94226692bc1a79eb35881ac37f9c7ffc825b4b2f (patch)
tree4abb64900f099ea527682cddc83c399e8ce11d9f
parented56c2e3d2959e1d61ce9e6c70c6ce0d6515655a (diff)
downloadmv-94226692bc1a79eb35881ac37f9c7ffc825b4b2f.tar.gz
mv-94226692bc1a79eb35881ac37f9c7ffc825b4b2f.tar.bz2
mv-94226692bc1a79eb35881ac37f9c7ffc825b4b2f.tar.xz
mv-94226692bc1a79eb35881ac37f9c7ffc825b4b2f.zip
Add packet SMSG_RODEX_REQUEST_MONEY 0x09f2.
-rw-r--r--src/net/eathena/mail2recv.cpp8
-rw-r--r--src/net/eathena/mail2recv.h1
-rw-r--r--src/net/eathena/packetsin.inc3
3 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/mail2recv.cpp b/src/net/eathena/mail2recv.cpp
index fb9a45ab8..a7197cf4c 100644
--- a/src/net/eathena/mail2recv.cpp
+++ b/src/net/eathena/mail2recv.cpp
@@ -153,4 +153,12 @@ void Mail2Recv::processMailDelete(Net::MessageIn &msg)
msg.readInt64("mail id");
}
+void Mail2Recv::processRequestMoney(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 e9e8d2d1a..485985d50 100644
--- a/src/net/eathena/mail2recv.h
+++ b/src/net/eathena/mail2recv.h
@@ -39,6 +39,7 @@ namespace EAthena
void processMailListPage(Net::MessageIn &msg);
void processReadMail(Net::MessageIn &msg);
void processMailDelete(Net::MessageIn &msg);
+ void processRequestMoney(Net::MessageIn &msg);
} // namespace MailRecv
} // namespace EAthena
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index fd62a46eb..e3f6dbc03 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -795,6 +795,9 @@ if (packetVersion >= 20131223)
// 20131230
packet(SMSG_RODEX_SEND_RESULT, 0x09ed, 3, &Mail2Recv::processSendResult, 20131230);
+// 20140409
+packet(SMSG_RODEX_REQUEST_MONEY, 0x09f2, 12, &Mail2Recv::processRequestMoney, 20140409);
+
// 20140115
packet(SMSG_RODEX_READ_MAIL, 0x09eb, -1, &Mail2Recv::processReadMail, 20140115);