From 263559d7e6231dc65ee503133e52c9791aac3734 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Sep 2014 23:21:24 +0300 Subject: eathena: add partial support for packet SMSG_SKILL_SNAP 0x08d2. --- src/net/eathena/skillhandler.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/net/eathena/skillhandler.cpp') diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp index 1b61559d3..e4e6c8101 100644 --- a/src/net/eathena/skillhandler.cpp +++ b/src/net/eathena/skillhandler.cpp @@ -57,6 +57,7 @@ SkillHandler::SkillHandler() : SMSG_PLAYER_SKILL_UP, SMSG_PLAYER_SKILL_COOLDOWN, SMSG_PLAYER_SKILL_COOLDOWN_LIST, + SMSG_SKILL_SNAP, 0 }; handledMessages = _messages; @@ -87,6 +88,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg) processSkillCoolDownList(msg); break; + case SMSG_SKILL_SNAP: + processSkillSnap(msg); + break; + default: break; } @@ -286,4 +291,11 @@ void SkillHandler::processSkillFailed(Net::MessageIn &msg) NotifyManager::notify(NotifyTypes::SKILL_FAIL_MESSAGE, txt); } +void SkillHandler::processSkillSnap(Net::MessageIn &msg) +{ + msg.readInt32("being id"); + msg.readInt16("x"); + msg.readInt16("y"); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2