diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-15 11:54:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-15 11:54:00 +0300 |
commit | 91f7b690419a3600e58637aff6158ad8734bdf8b (patch) | |
tree | 558a62b4b947ce2bb94cfef2996269c52ba251e3 /src/net/eathena/mailhandler.cpp | |
parent | 017cf6a085d9fc8ff99776ecdc8e4a0e91022c87 (diff) | |
download | manaverse-91f7b690419a3600e58637aff6158ad8734bdf8b.tar.gz manaverse-91f7b690419a3600e58637aff6158ad8734bdf8b.tar.bz2 manaverse-91f7b690419a3600e58637aff6158ad8734bdf8b.tar.xz manaverse-91f7b690419a3600e58637aff6158ad8734bdf8b.zip |
eathena: add packet CMSG_MAIL_READ_MESSAGE 0x0241.
Diffstat (limited to 'src/net/eathena/mailhandler.cpp')
-rw-r--r-- | src/net/eathena/mailhandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/mailhandler.cpp b/src/net/eathena/mailhandler.cpp index 522484dfa..1b19a4644 100644 --- a/src/net/eathena/mailhandler.cpp +++ b/src/net/eathena/mailhandler.cpp @@ -79,4 +79,10 @@ void MailHandler::refresh() MessageOut outMsg(CMSG_MAIL_REFRESH_INBOX); } +void MailHandler::readMessage(const int msgId) +{ + MessageOut outMsg(CMSG_MAIL_READ_MESSAGE); + outMsg.writeInt32(msgId, "message id"); +} + } // namespace EAthena |