summaryrefslogtreecommitdiff
path: root/src/net/ea/skillhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-23 22:27:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-23 22:27:50 +0300
commitca342d3fbdc5796c80452bd0a1abbe1ecc7937f0 (patch)
treec4ef1cc3d38f211be33ce31da1dd3820a80be0fb /src/net/ea/skillhandler.cpp
parent117bd5507d5e644107d7a53c9b12d7a2587b69a5 (diff)
downloadplus-ca342d3fbdc5796c80452bd0a1abbe1ecc7937f0.tar.gz
plus-ca342d3fbdc5796c80452bd0a1abbe1ecc7937f0.tar.bz2
plus-ca342d3fbdc5796c80452bd0a1abbe1ecc7937f0.tar.xz
plus-ca342d3fbdc5796c80452bd0a1abbe1ecc7937f0.zip
Add packet fields comments in skillhandler.
Diffstat (limited to 'src/net/ea/skillhandler.cpp')
-rw-r--r--src/net/ea/skillhandler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/ea/skillhandler.cpp b/src/net/ea/skillhandler.cpp
index 5f26a5203..d55404e50 100644
--- a/src/net/ea/skillhandler.cpp
+++ b/src/net/ea/skillhandler.cpp
@@ -39,11 +39,11 @@ SkillHandler::SkillHandler()
void SkillHandler::processPlayerSkillUp(Net::MessageIn &msg)
{
- const int skillId = msg.readInt16();
- const int level = msg.readInt16();
- const int sp = msg.readInt16();
- const int range = msg.readInt16();
- const int up = msg.readUInt8();
+ const int skillId = msg.readInt16("skill id");
+ const int level = msg.readInt16("skill level");
+ const int sp = msg.readInt16("sp");
+ const int range = msg.readInt16("range");
+ const int up = msg.readUInt8("up flag");
if (skillDialog && PlayerInfo::getSkillLevel(skillId) != level)
skillDialog->playUpdateEffect(skillId);