summaryrefslogtreecommitdiff
path: root/src/net/eathena/mailhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-15 11:57:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-15 11:57:53 +0300
commit52a130d4975dcd05a283fb46ba68af094ff91c4e (patch)
treed2986b1c3921a6a9c61351f57f2d885fe0beb460 /src/net/eathena/mailhandler.cpp
parent91f7b690419a3600e58637aff6158ad8734bdf8b (diff)
downloadplus-52a130d4975dcd05a283fb46ba68af094ff91c4e.tar.gz
plus-52a130d4975dcd05a283fb46ba68af094ff91c4e.tar.bz2
plus-52a130d4975dcd05a283fb46ba68af094ff91c4e.tar.xz
plus-52a130d4975dcd05a283fb46ba68af094ff91c4e.zip
eathena: add packet CMSG_MAIL_GET_ATTACH 0x0244.
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 1b19a4644..264da8a21 100644
--- a/src/net/eathena/mailhandler.cpp
+++ b/src/net/eathena/mailhandler.cpp
@@ -85,4 +85,10 @@ void MailHandler::readMessage(const int msgId)
outMsg.writeInt32(msgId, "message id");
}
+void MailHandler::getAttach(const int msgId)
+{
+ MessageOut outMsg(CMSG_MAIL_GET_ATTACH);
+ outMsg.writeInt32(msgId, "message id");
+}
+
} // namespace EAthena