summaryrefslogtreecommitdiff
path: root/src/net/eathena/mailhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-15 12:03:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-15 12:03:27 +0300
commitdad1dff300a8a65e9b74ef0c5568279dded8e45f (patch)
tree718a96436b64d0455236ef0da6a04bad01232c60 /src/net/eathena/mailhandler.cpp
parent52a130d4975dcd05a283fb46ba68af094ff91c4e (diff)
downloadmv-dad1dff300a8a65e9b74ef0c5568279dded8e45f.tar.gz
mv-dad1dff300a8a65e9b74ef0c5568279dded8e45f.tar.bz2
mv-dad1dff300a8a65e9b74ef0c5568279dded8e45f.tar.xz
mv-dad1dff300a8a65e9b74ef0c5568279dded8e45f.zip
eathena: add packet CMSG_MAIL_DELETE_MESSAGE 0x0243.
Diffstat (limited to 'src/net/eathena/mailhandler.cpp')
-rw-r--r--src/net/eathena/mailhandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/mailhandler.cpp b/src/net/eathena/mailhandler.cpp
index 264da8a21..ee8adee14 100644
--- a/src/net/eathena/mailhandler.cpp
+++ b/src/net/eathena/mailhandler.cpp
@@ -91,4 +91,10 @@ void MailHandler::getAttach(const int msgId)
outMsg.writeInt32(msgId, "message id");
}
+void MailHandler::deleteMessage(const int msgId)
+{
+ MessageOut outMsg(CMSG_MAIL_DELETE_MESSAGE);
+ outMsg.writeInt32(msgId, "message id");
+}
+
} // namespace EAthena