summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/playerrecv.cpp')
-rw-r--r--src/net/eathena/playerrecv.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp
index a630bf9b7..03290d48d 100644
--- a/src/net/eathena/playerrecv.cpp
+++ b/src/net/eathena/playerrecv.cpp
@@ -31,6 +31,8 @@
#include "being/localplayer.h"
#include "being/playerinfo.h"
+#include "const/net/nostat.h"
+
#include "enums/resources/notifytypes.h"
#include "gui/onlineplayer.h"
@@ -42,6 +44,7 @@
#include "net/eathena/sp.h"
#include "net/messagein.h"
+#include "net/playerhandler.h"
#include "utils/gettext.h"
@@ -495,4 +498,13 @@ void PlayerRecv::processPlayerAttrs(Net::MessageIn &msg)
localPlayer->setGM(false);
}
+void PlayerRecv::processPlayerStatUpdate7(Net::MessageIn &msg)
+{
+ BLOCK_START("PlayerRecv::processPlayerStatUpdate7")
+ const int type = msg.readInt16("type");
+ const int64_t value = msg.readInt64("value");
+ playerHandler->setStat(msg, type, value, NoStat, Notify_true);
+ BLOCK_END("PlayerRecv::processPlayerStatUpdate7")
+}
+
} // namespace EAthena