summaryrefslogtreecommitdiff
path: root/src/net/eathena/mailhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-15 12:10:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-15 12:10:39 +0300
commit24067ea389a847c4d68f175d0765701110b2647e (patch)
tree8c2fb2d3476d2fc1d1eac2f4f5bcafe099283817 /src/net/eathena/mailhandler.cpp
parentdad1dff300a8a65e9b74ef0c5568279dded8e45f (diff)
downloadmanaplus-24067ea389a847c4d68f175d0765701110b2647e.tar.gz
manaplus-24067ea389a847c4d68f175d0765701110b2647e.tar.bz2
manaplus-24067ea389a847c4d68f175d0765701110b2647e.tar.xz
manaplus-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.cpp7
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