From 94226692bc1a79eb35881ac37f9c7ffc825b4b2f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 11 Aug 2017 16:01:56 +0300 Subject: Add packet SMSG_RODEX_REQUEST_MONEY 0x09f2. --- src/net/eathena/mail2recv.cpp | 8 ++++++++ src/net/eathena/mail2recv.h | 1 + src/net/eathena/packetsin.inc | 3 +++ 3 files changed, 12 insertions(+) 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); -- cgit v1.2.3-70-g09d2