summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-05 12:55:45 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:57 +0300
commit946d6980c3ca3c7b7f6e50616e2e366c9adcae11 (patch)
tree9be71af99944b8056e97d83801c66222cb4dd834 /src/net/eathena/beinghandler.cpp
parent617feef91574c9ad6dc6dcddf910566f394c9981 (diff)
downloadplus-946d6980c3ca3c7b7f6e50616e2e366c9adcae11.tar.gz
plus-946d6980c3ca3c7b7f6e50616e2e366c9adcae11.tar.bz2
plus-946d6980c3ca3c7b7f6e50616e2e366c9adcae11.tar.xz
plus-946d6980c3ca3c7b7f6e50616e2e366c9adcae11.zip
Move processSkillCasting from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index f06c9fc2c..cc169fc24 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -193,7 +193,7 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
break;
case SMSG_SKILL_CASTING:
- processSkilCasting(msg);
+ processSkillCasting(msg);
break;
case SMSG_SKILL_CAST_CANCEL:
@@ -873,4 +873,15 @@ void BeingHandler::processMapTypeProperty(Net::MessageIn &msg) const
msg.readInt32("flags");
}
+void BeingHandler::processSkillCasting(Net::MessageIn &msg) const
+{
+ msg.readInt32("src id");
+ msg.readInt32("dst id");
+ msg.readInt16("dst x");
+ msg.readInt16("dst y");
+ msg.readInt16("skill num");
+ msg.readInt32("skill get p1");
+ msg.readInt32("cast time");
+}
+
} // namespace EAthena