summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{