summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-14 19:17:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-14 19:17:41 +0300
commit1c709b950363389755017e52f97ed3299be3b514 (patch)
tree48d6e0c4894dea263fde65269d67acb0594e2baf /src/net/eathena/beinghandler.cpp
parent5b2aee2396829e899d4493bc40de88a93a7d42cb (diff)
downloadmanaverse-1c709b950363389755017e52f97ed3299be3b514.tar.gz
manaverse-1c709b950363389755017e52f97ed3299be3b514.tar.bz2
manaverse-1c709b950363389755017e52f97ed3299be3b514.tar.xz
manaverse-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.cpp18
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