summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-11 01:03:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-11 01:03:20 +0300
commit302519fb539d17a10061d590f051a23633be6cc4 (patch)
tree8e1b36b32e867f538f3d17960b4d8473cb699fb5 /src/net/eathena
parent66472d9fcad0938fe2ba97138341043e89ace142 (diff)
downloadplus-302519fb539d17a10061d590f051a23633be6cc4.tar.gz
plus-302519fb539d17a10061d590f051a23633be6cc4.tar.bz2
plus-302519fb539d17a10061d590f051a23633be6cc4.tar.xz
plus-302519fb539d17a10061d590f051a23633be6cc4.zip
Add packet SMSG_RODEX_OPEN_NEW_MAIL_WINDOW 0x0a12.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/mail2recv.cpp7
-rw-r--r--src/net/eathena/mail2recv.h1
-rw-r--r--src/net/eathena/packetsin.inc3
3 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/mail2recv.cpp b/src/net/eathena/mail2recv.cpp
index 1a07bfc52..30cf22cd4 100644
--- a/src/net/eathena/mail2recv.cpp
+++ b/src/net/eathena/mail2recv.cpp
@@ -35,4 +35,11 @@ void Mail2Recv::processMailIcon(Net::MessageIn &msg)
msg.readUInt8("show icon");
}
+void Mail2Recv::processOpenNewMailWindow(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ msg.readString(24, "receiver");
+ msg.readUInt8("result");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/mail2recv.h b/src/net/eathena/mail2recv.h
index 6be888911..7a5287047 100644
--- a/src/net/eathena/mail2recv.h
+++ b/src/net/eathena/mail2recv.h
@@ -31,6 +31,7 @@ namespace EAthena
namespace Mail2Recv
{
void processMailIcon(Net::MessageIn &msg);
+ void processOpenNewMailWindow(Net::MessageIn &msg);
} // namespace MailRecv
} // namespace EAthena
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index c3e20c6c4..391491d5d 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);
}
+// 20140416
+packet(SMSG_RODEX_OPEN_NEW_MAIL_WINDOW, 0x0a12, 27, &Mail2Recv::processOpenNewMailWindow, 20140416);
+
// 20140613
if (packetVersion >= 20140613)
{