summaryrefslogtreecommitdiff
path: root/src/net/eathena/skillhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-11 14:52:25 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-11 14:52:25 +0300
commit70aa8d620ec337d629e096f2f7c8cdaa2104fb53 (patch)
tree3b158179840621340d5e0192891b15edd6ef1609 /src/net/eathena/skillhandler.cpp
parentff383a3f0658aeb016a5c5bcde01fc7edd2f8c33 (diff)
downloadplus-70aa8d620ec337d629e096f2f7c8cdaa2104fb53.tar.gz
plus-70aa8d620ec337d629e096f2f7c8cdaa2104fb53.tar.bz2
plus-70aa8d620ec337d629e096f2f7c8cdaa2104fb53.tar.xz
plus-70aa8d620ec337d629e096f2f7c8cdaa2104fb53.zip
eathena: add partial support for packet SMSG_SKILL_ARROW_CREATE_LIST 0x01ad.
Diffstat (limited to 'src/net/eathena/skillhandler.cpp')
-rw-r--r--src/net/eathena/skillhandler.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp
index 1316c4dda..d92fd697d 100644
--- a/src/net/eathena/skillhandler.cpp
+++ b/src/net/eathena/skillhandler.cpp
@@ -66,6 +66,7 @@ SkillHandler::SkillHandler() :
SMSG_PLAYER_SKILL_PRODUCE_MIX_LIST,
SMSG_PLAYER_SKILL_PRODUCE_EFFECT,
SMSG_SKILL_UNIT_UPDATE,
+ SMSG_SKILL_ARROW_CREATE_LIST,
0
};
handledMessages = _messages;
@@ -132,6 +133,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg)
processSkillUnitUpdate(msg);
break;
+ case SMSG_SKILL_ARROW_CREATE_LIST:
+ processSkillArrowCreateList(msg);
+ break;
+
default:
break;
}
@@ -441,4 +446,13 @@ void SkillHandler::processSkillUnitUpdate(Net::MessageIn &msg)
msg.readInt32("being id");
}
+void SkillHandler::processSkillArrowCreateList(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ const int count = (msg.readInt16("len") - 4) / 2;
+ for (int f = 0; f < count; f ++)
+ msg.readInt16("item id");
+}
+
} // namespace EAthena