summaryrefslogtreecommitdiff
path: root/src/net/eathena/mail2recv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-11 02:54:16 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-11 03:00:41 +0300
commit6597e683da916a47705a23e67087b19a89bb0778 (patch)
tree5675167dbceeedf5e18e27d6c0770f5292ee035d /src/net/eathena/mail2recv.cpp
parent255660c6bd40f40188b5b9a4d89cb879d10924a5 (diff)
downloadplus-6597e683da916a47705a23e67087b19a89bb0778.tar.gz
plus-6597e683da916a47705a23e67087b19a89bb0778.tar.bz2
plus-6597e683da916a47705a23e67087b19a89bb0778.tar.xz
plus-6597e683da916a47705a23e67087b19a89bb0778.zip
Add packet SMSG_RODEX_MAIL_LIST_PAGE 0x09f0.
Diffstat (limited to 'src/net/eathena/mail2recv.cpp')
-rw-r--r--src/net/eathena/mail2recv.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/net/eathena/mail2recv.cpp b/src/net/eathena/mail2recv.cpp
index 8c3c7cdbb..1cc66e0de 100644
--- a/src/net/eathena/mail2recv.cpp
+++ b/src/net/eathena/mail2recv.cpp
@@ -96,4 +96,23 @@ void Mail2Recv::processSendResult(Net::MessageIn &msg)
msg.readUInt8("result");
}
+void Mail2Recv::processMailListPage(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ msg.readInt16("len");
+ msg.readUInt8("open type");
+ const int cnt = msg.readUInt8("cnt");
+ msg.readUInt8("isEnd");
+ for (int f = 0; f < cnt; f ++)
+ {
+ msg.readInt64("mail id");
+ msg.readUInt8("is read");
+ msg.readUInt8("type");
+ msg.readString(24, "sender name");
+ msg.readInt32("reg time");
+ msg.readInt32("expire time");
+ msg.readString(-1, "title");
+ }
+}
+
} // namespace EAthena