summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-11 02:28:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-11 02:28:28 +0300
commit255660c6bd40f40188b5b9a4d89cb879d10924a5 (patch)
treeceb3d9b7d00580e12ee4e855cdca4c149a8f7367
parent65bd35dfb2567a6c13d384992ba20e6ac50b404f (diff)
downloadmv-255660c6bd40f40188b5b9a4d89cb879d10924a5.tar.gz
mv-255660c6bd40f40188b5b9a4d89cb879d10924a5.tar.bz2
mv-255660c6bd40f40188b5b9a4d89cb879d10924a5.tar.xz
mv-255660c6bd40f40188b5b9a4d89cb879d10924a5.zip
Add packet SMSG_RODEX_SEND_RESULT 0x09ed.
-rw-r--r--src/net/eathena/mail2recv.cpp6
-rw-r--r--src/net/eathena/mail2recv.h1
-rw-r--r--src/net/eathena/packetsin.inc3
3 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/mail2recv.cpp b/src/net/eathena/mail2recv.cpp
index 4b1b53581..8c3c7cdbb 100644
--- a/src/net/eathena/mail2recv.cpp
+++ b/src/net/eathena/mail2recv.cpp
@@ -90,4 +90,10 @@ void Mail2Recv::processCheckNameResult(Net::MessageIn &msg)
msg.readString(24, "name");
}
+void Mail2Recv::processSendResult(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ msg.readUInt8("result");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/mail2recv.h b/src/net/eathena/mail2recv.h
index 6c0d7f600..351804186 100644
--- a/src/net/eathena/mail2recv.h
+++ b/src/net/eathena/mail2recv.h
@@ -35,6 +35,7 @@ namespace EAthena
void processAddItemResult(Net::MessageIn &msg);
void processRemoveItemResult(Net::MessageIn &msg);
void processCheckNameResult(Net::MessageIn &msg);
+ void processSendResult(Net::MessageIn &msg);
} // namespace MailRecv
} // namespace EAthena
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index 99f214fad..210981c72 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -788,6 +788,9 @@ if (packetVersion >= 20131223)
packet(SMSG_SKILL_NO_DAMAGE, 0x09cb, 17, &Ea::BeingRecv::processSkillNoDamage, 20131223);
}
+// 20131230
+packet(SMSG_RODEX_SEND_RESULT, 0x09ed, 3, &Mail2Recv::processSendResult, 20131230);
+
// 20140416
packet(SMSG_RODEX_OPEN_NEW_MAIL_WINDOW, 0x0a12, 27, &Mail2Recv::processOpenNewMailWindow, 20140416);