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.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/mailhandler.cpp b/src/net/eathena/mailhandler.cpp
index d0d361170..c27c3c894 100644
--- a/src/net/eathena/mailhandler.cpp
+++ b/src/net/eathena/mailhandler.cpp
@@ -43,6 +43,7 @@ MailHandler::MailHandler() :
SMSG_MAIL_MAILS_LIST,
SMSG_MAIL_READ_MAIL,
SMSG_MAIL_GET_ATTACHMENT,
+ SMSG_MAIL_SEND_MAIL_ACK,
0
};
handledMessages = _messages;
@@ -69,6 +70,10 @@ void MailHandler::handleMessage(Net::MessageIn &msg)
processGetAttachment(msg);
break;
+ case SMSG_MAIL_SEND_MAIL_ACK:
+ processSendMailAck(msg);
+ break;
+
default:
break;
}
@@ -142,6 +147,13 @@ void MailHandler::processGetAttachment(Net::MessageIn &msg)
msg.readUInt8("flag");
}
+void MailHandler::processSendMailAck(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ msg.readUInt8("fail flag");
+}
+
void MailHandler::refresh()
{
createOutPacket(CMSG_MAIL_REFRESH_INBOX);