summaryrefslogtreecommitdiff
path: root/src/net/eathena/mail2recv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/mail2recv.cpp')
-rw-r--r--src/net/eathena/mail2recv.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/net/eathena/mail2recv.cpp b/src/net/eathena/mail2recv.cpp
index 30cf22cd4..8e7c00ba8 100644
--- a/src/net/eathena/mail2recv.cpp
+++ b/src/net/eathena/mail2recv.cpp
@@ -24,6 +24,8 @@
#include "net/messagein.h"
+#include "const/resources/item/cards.h"
+
#include "debug.h"
namespace EAthena
@@ -42,4 +44,31 @@ void Mail2Recv::processOpenNewMailWindow(Net::MessageIn &msg)
msg.readUInt8("result");
}
+void Mail2Recv::processAddItemResult(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ msg.readUInt8("result");
+ msg.readInt16("index");
+ msg.readInt16("count");
+ msg.readInt16("itid");
+ msg.readUInt8("type");
+ msg.readUInt8("identify");
+ msg.readUInt8("damaged");
+ msg.readUInt8("refine");
+ for (int f = 0; f < maxCards; f++)
+ msg.readUInt16("card");
+ for (int f = 0; f < 5; f ++)
+ {
+ msg.readInt16("option index");
+ msg.readInt16("option value");
+ msg.readUInt8("option param");
+ }
+ msg.readInt16("weight");
+ msg.readUInt8("unknown 1");
+ msg.readUInt8("unknown 2");
+ msg.readUInt8("unknown 3");
+ msg.readUInt8("unknown 4");
+ msg.readUInt8("unknown 5");
+}
+
} // namespace EAthena