diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-23 22:27:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-23 22:27:50 +0300 |
commit | ca342d3fbdc5796c80452bd0a1abbe1ecc7937f0 (patch) | |
tree | c4ef1cc3d38f211be33ce31da1dd3820a80be0fb /src/net/ea | |
parent | 117bd5507d5e644107d7a53c9b12d7a2587b69a5 (diff) | |
download | plus-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')
-rw-r--r-- | src/net/ea/skillhandler.cpp | 10 |
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); |