summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/beinghandler.cpp13
-rw-r--r--src/net/eathena/beinghandler.h2
2 files changed, 14 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
diff --git a/src/net/eathena/beinghandler.h b/src/net/eathena/beinghandler.h
index 45bf1fc33..d100745f8 100644
--- a/src/net/eathena/beinghandler.h
+++ b/src/net/eathena/beinghandler.h
@@ -53,6 +53,8 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler
void processPlayerMoveUpdate(Net::MessageIn &msg) const;
void processMapTypeProperty(Net::MessageIn &msg) const;
+
+ void processSkillCasting(Net::MessageIn &msg) const;
};
} // namespace EAthena