From e05956bcbefba4f846f90e7f5c9c05c4931b3a26 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Oct 2017 17:52:54 +0300 Subject: Add packet SMSG_PLAYER_STAT_UPDATE_7 0x0acb. --- src/net/eathena/playerrecv.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/net/eathena/playerrecv.cpp') 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 -- cgit v1.2.3-60-g2f50