summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/mail2recv.cpp9
-rw-r--r--src/net/eathena/mail2recv.h1
-rw-r--r--src/net/eathena/packetsin.inc5
3 files changed, 14 insertions, 1 deletions
diff --git a/src/net/eathena/mail2recv.cpp b/src/net/eathena/mail2recv.cpp
index 8e7c00ba8..6b8e99471 100644
--- a/src/net/eathena/mail2recv.cpp
+++ b/src/net/eathena/mail2recv.cpp
@@ -71,4 +71,13 @@ void Mail2Recv::processAddItemResult(Net::MessageIn &msg)
msg.readUInt8("unknown 5");
}
+void Mail2Recv::processRemoveItemResult(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ msg.readUInt8("result");
+ msg.readInt16("index");
+ msg.readInt16("count");
+ msg.readInt16("weight");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/mail2recv.h b/src/net/eathena/mail2recv.h
index 4d0e8bc34..bdb9cf1ab 100644
--- a/src/net/eathena/mail2recv.h
+++ b/src/net/eathena/mail2recv.h
@@ -33,6 +33,7 @@ namespace EAthena
void processMailIcon(Net::MessageIn &msg);
void processOpenNewMailWindow(Net::MessageIn &msg);
void processAddItemResult(Net::MessageIn &msg);
+ void processRemoveItemResult(Net::MessageIn &msg);
} // namespace MailRecv
} // namespace EAthena
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index 988c6ca16..9f94b2441 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -789,7 +789,10 @@ if (packetVersion >= 20131223)
}
// 20140416
-packet(SMSG_RODEX_OPEN_NEW_MAIL_WINDOW, 0x0a12, 27, &Mail2Recv::processOpenNewMailWindow, 20140416);
+packet(SMSG_RODEX_OPEN_NEW_MAIL_WINDOW, 0x0a12, 27, &Mail2Recv::processOpenNewMailWindow, 20140416);
+
+// 20140521
+packet(SMSG_RODEX_REMOVE_ITEM_RESULT, 0x0a07, 9, &Mail2Recv::processRemoveItemResult, 20140521);
// 20140613
if (packetVersion >= 20140613)