summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-11 15:49:32 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-11 15:51:49 +0300
commited56c2e3d2959e1d61ce9e6c70c6ce0d6515655a (patch)
tree5a3e954fd99d1afe67088664c5cc4df4ad8097a9 /src/net
parentb69cc890606be77416d1e1031c0041754fa51c52 (diff)
downloadmv-ed56c2e3d2959e1d61ce9e6c70c6ce0d6515655a.tar.gz
mv-ed56c2e3d2959e1d61ce9e6c70c6ce0d6515655a.tar.bz2
mv-ed56c2e3d2959e1d61ce9e6c70c6ce0d6515655a.tar.xz
mv-ed56c2e3d2959e1d61ce9e6c70c6ce0d6515655a.zip
Add packet SMSG_RODEX_MAIL_DELETE 0x09f6.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/mail2recv.cpp7
-rw-r--r--src/net/eathena/mail2recv.h1
-rw-r--r--src/net/eathena/packetsin.inc1
3 files changed, 9 insertions, 0 deletions
diff --git a/src/net/eathena/mail2recv.cpp b/src/net/eathena/mail2recv.cpp
index 3f2049d18..fb9a45ab8 100644
--- a/src/net/eathena/mail2recv.cpp
+++ b/src/net/eathena/mail2recv.cpp
@@ -146,4 +146,11 @@ void Mail2Recv::processReadMail(Net::MessageIn &msg)
}
}
+void Mail2Recv::processMailDelete(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ msg.readUInt8("open type");
+ msg.readInt64("mail id");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/mail2recv.h b/src/net/eathena/mail2recv.h
index 0202c6586..e9e8d2d1a 100644
--- a/src/net/eathena/mail2recv.h
+++ b/src/net/eathena/mail2recv.h
@@ -38,6 +38,7 @@ namespace EAthena
void processSendResult(Net::MessageIn &msg);
void processMailListPage(Net::MessageIn &msg);
void processReadMail(Net::MessageIn &msg);
+ void processMailDelete(Net::MessageIn &msg);
} // namespace MailRecv
} // namespace EAthena
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index 17226fdf5..fd62a46eb 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -777,6 +777,7 @@ if (packetVersion >= 20130731)
// 20131218
packet(SMSG_RODEX_MAIL_LIST_PAGE, 0x09f0, -1, &Mail2Recv::processMailListPage, 20131218);
+packet(SMSG_RODEX_MAIL_DELETE, 0x09f6, 11, &Mail2Recv::processMailDelete, 20131218);
// 20131223
if (packetVersion >= 20131223)