summaryrefslogtreecommitdiff
path: root/src/net/eathena/mailhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-12 16:55:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-12 16:55:45 +0300
commitedd3c87f697c6c0c33a2291cf70016ec56c84f54 (patch)
tree1ae791658cdf2083d86833db11ab30ecd60bfe49 /src/net/eathena/mailhandler.cpp
parentca54c8874b631b392366f98731704db6177b14a6 (diff)
downloadplus-edd3c87f697c6c0c33a2291cf70016ec56c84f54.tar.gz
plus-edd3c87f697c6c0c33a2291cf70016ec56c84f54.tar.bz2
plus-edd3c87f697c6c0c33a2291cf70016ec56c84f54.tar.xz
plus-edd3c87f697c6c0c33a2291cf70016ec56c84f54.zip
eathena: add partial support for packet SMSG_MAIL_SEND_MAIL_ACK 0x0249.
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);