From 302519fb539d17a10061d590f051a23633be6cc4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 11 Aug 2017 01:03:20 +0300 Subject: Add packet SMSG_RODEX_OPEN_NEW_MAIL_WINDOW 0x0a12. --- src/net/eathena/mail2recv.cpp | 7 +++++++ src/net/eathena/mail2recv.h | 1 + src/net/eathena/packetsin.inc | 3 +++ 3 files changed, 11 insertions(+) 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) { -- cgit v1.2.3-70-g09d2