summaryrefslogtreecommitdiff
path: root/src/net/eathena/mailhandler.cpp
diff options
context:
space:
mode:
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 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