summaryrefslogtreecommitdiff
path: root/src/net/eathena/skillhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-25 23:21:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-25 23:21:24 +0300
commit263559d7e6231dc65ee503133e52c9791aac3734 (patch)
tree58df4a958c07eac611e4495750b7387a286dfbe0 /src/net/eathena/skillhandler.cpp
parent19d5a1ca912c89d46ea567079777d0fff1211c25 (diff)
downloadmv-263559d7e6231dc65ee503133e52c9791aac3734.tar.gz
mv-263559d7e6231dc65ee503133e52c9791aac3734.tar.bz2
mv-263559d7e6231dc65ee503133e52c9791aac3734.tar.xz
mv-263559d7e6231dc65ee503133e52c9791aac3734.zip
eathena: add partial support for packet SMSG_SKILL_SNAP 0x08d2.
Diffstat (limited to 'src/net/eathena/skillhandler.cpp')
-rw-r--r--src/net/eathena/skillhandler.cpp12
1 files changed, 12 insertions, 0 deletions
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