summaryrefslogtreecommitdiff
path: root/src/net/eathena/achievementrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/achievementrecv.cpp')
-rw-r--r--src/net/eathena/achievementrecv.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/achievementrecv.cpp b/src/net/eathena/achievementrecv.cpp
index 96f1a2594..11f2d5cc5 100644
--- a/src/net/eathena/achievementrecv.cpp
+++ b/src/net/eathena/achievementrecv.cpp
@@ -49,4 +49,19 @@ void AchievementRecv::processAchievementList(Net::MessageIn &msg)
}
}
+void AchievementRecv::processAchievementUpdate(Net::MessageIn &msg)
+{
+ msg.readInt32("total points");
+ msg.readInt16("rank level");
+ msg.readInt32("rank points");
+ msg.readInt32("rank points need");
+
+ msg.readInt32("ach id");
+ msg.readUInt8("completed");
+ for (int d = 0; d < 10; d ++)
+ msg.readInt32("objective");
+ msg.readInt32("completed at");
+ msg.readUInt8("reward");
+}
+
} // namespace EAthena