summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-08 15:46:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-08 15:46:12 +0300
commit19ba46eb71edb10615cb02d30bb8163c277a146a (patch)
treeebf579669de595608406a55dd5e985448e246c14 /src/net/eathena/playerhandler.cpp
parent449f9c06038f4f455104b29711f5d0f7a7b96307 (diff)
downloadManaVerse-19ba46eb71edb10615cb02d30bb8163c277a146a.tar.gz
ManaVerse-19ba46eb71edb10615cb02d30bb8163c277a146a.tar.bz2
ManaVerse-19ba46eb71edb10615cb02d30bb8163c277a146a.tar.xz
ManaVerse-19ba46eb71edb10615cb02d30bb8163c277a146a.zip
eathena: add partial support for packet SMSG_PLAYER_SKILL_MESSAGE 0x0215.
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index e4e65dbb9..92ce69f4f 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -58,6 +58,7 @@ PlayerHandler::PlayerHandler() :
SMSG_PLAYER_GET_EXP,
SMSG_PVP_INFO,
SMSG_PLAYER_HEAL,
+ SMSG_PLAYER_SKILL_MESSAGE,
0
};
handledMessages = _messages;
@@ -125,6 +126,10 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
processPlayerHeal(msg);
break;
+ case SMSG_PLAYER_SKILL_MESSAGE:
+ processPlayerSkillMessage(msg);
+ break;
+
default:
break;
}
@@ -466,6 +471,12 @@ void PlayerHandler::processPlayerHeal(Net::MessageIn &msg)
msg.readInt16("value");
}
+void PlayerHandler::processPlayerSkillMessage(Net::MessageIn &msg)
+{
+ // +++ need show this message
+ msg.readInt32("type");
+}
+
void PlayerHandler::setStat(const int type,
const int base,
const int mod,