diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-14 19:17:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-14 19:17:41 +0300 |
commit | 1c709b950363389755017e52f97ed3299be3b514 (patch) | |
tree | 48d6e0c4894dea263fde65269d67acb0594e2baf /src/net/eathena/beinghandler.cpp | |
parent | 5b2aee2396829e899d4493bc40de88a93a7d42cb (diff) | |
download | plus-1c709b950363389755017e52f97ed3299be3b514.tar.gz plus-1c709b950363389755017e52f97ed3299be3b514.tar.bz2 plus-1c709b950363389755017e52f97ed3299be3b514.tar.xz plus-1c709b950363389755017e52f97ed3299be3b514.zip |
eathena: add partial support for packet SMSG_SKILL_ENTRY 0x09ca.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 27be4fc9c..a52e53bf9 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -92,6 +92,7 @@ BeingHandler::BeingHandler(const bool enableSync) : SMSG_SKILL_CAST_CANCEL, SMSG_SKILL_NO_DAMAGE, SMSG_SKILL_GROUND_NO_DAMAGE, + SMSG_SKILL_ENTRY, SMSG_BEING_IP_RESPONSE, SMSG_PVP_MAP_MODE, SMSG_PVP_SET, @@ -244,6 +245,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processSkillGroundNoDamage(msg); break; + case SMSG_SKILL_ENTRY: + processSkillEntry(msg); + break; + case SMSG_PVP_MAP_MODE: processPvpMapMode(msg); break; @@ -1679,4 +1684,17 @@ void BeingHandler::processSkillGroundNoDamage(Net::MessageIn &msg) const msg.readInt32("tick"); } +void BeingHandler::processSkillEntry(Net::MessageIn &msg) const +{ + msg.readInt16("len"); + msg.readInt32("accound id"); + msg.readInt32("creator accound id"); + msg.readInt16("x"); + msg.readInt16("y"); + msg.readInt32("job"); + msg.readUInt8("radius"); + msg.readUInt8("visible"); + msg.readUInt8("level"); +} + } // namespace EAthena |