diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-15 12:10:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-15 12:10:39 +0300 |
commit | 24067ea389a847c4d68f175d0765701110b2647e (patch) | |
tree | 8c2fb2d3476d2fc1d1eac2f4f5bcafe099283817 /src/net/eathena/mailhandler.cpp | |
parent | dad1dff300a8a65e9b74ef0c5568279dded8e45f (diff) | |
download | mv-24067ea389a847c4d68f175d0765701110b2647e.tar.gz mv-24067ea389a847c4d68f175d0765701110b2647e.tar.bz2 mv-24067ea389a847c4d68f175d0765701110b2647e.tar.xz mv-24067ea389a847c4d68f175d0765701110b2647e.zip |
eathena: add packet CMSG_MAIL_RETURN_MESSAGE 0x0273.
Diffstat (limited to 'src/net/eathena/mailhandler.cpp')
-rw-r--r-- | src/net/eathena/mailhandler.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/mailhandler.cpp b/src/net/eathena/mailhandler.cpp index ee8adee14..006c5e9a2 100644 --- a/src/net/eathena/mailhandler.cpp +++ b/src/net/eathena/mailhandler.cpp @@ -97,4 +97,11 @@ void MailHandler::deleteMessage(const int msgId) outMsg.writeInt32(msgId, "message id"); } +void MailHandler::returnMessage(const int msgId) +{ + MessageOut outMsg(CMSG_MAIL_RETURN_MESSAGE); + outMsg.writeInt32(msgId, "message id"); + outMsg.writeString("", 24, "unused"); +} + } // namespace EAthena |