diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-11 14:39:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-11 14:39:29 +0300 |
commit | ff383a3f0658aeb016a5c5bcde01fc7edd2f8c33 (patch) | |
tree | 4956a3ef5ee256f788d5e15ec593e2e4543371a4 | |
parent | c28671db8583dc66e7e3c3b1428c870f5222dbcc (diff) | |
download | plus-ff383a3f0658aeb016a5c5bcde01fc7edd2f8c33.tar.gz plus-ff383a3f0658aeb016a5c5bcde01fc7edd2f8c33.tar.bz2 plus-ff383a3f0658aeb016a5c5bcde01fc7edd2f8c33.tar.xz plus-ff383a3f0658aeb016a5c5bcde01fc7edd2f8c33.zip |
eathena: add partial support for packet SMSG_SKILL_UNIT_UPDATE 0x01ac.
-rw-r--r-- | src/net/eathena/protocol.h | 1 | ||||
-rw-r--r-- | src/net/eathena/skillhandler.cpp | 12 | ||||
-rw-r--r-- | src/net/eathena/skillhandler.h | 2 |
3 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 45f8d9439..66417f6df 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -107,6 +107,7 @@ #define SMSG_SKILL_SNAP 0x08d2 #define SMSG_SKILL_WARP_POINT 0x011c #define SMSG_SKILL_MEMO_MESSAGE 0x011e +#define SMSG_SKILL_UNIT_UPDATE 0x01ac #define SMSG_ITEM_USE_RESPONSE 0x00a8 #define SMSG_ITEM_VISIBLE 0x009d /**< An item is on the floor */ #define SMSG_GRAFFITI_VISIBLE 0x01c9 diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp index abe33cda1..1316c4dda 100644 --- a/src/net/eathena/skillhandler.cpp +++ b/src/net/eathena/skillhandler.cpp @@ -65,6 +65,7 @@ SkillHandler::SkillHandler() : SMSG_SKILL_MEMO_MESSAGE, SMSG_PLAYER_SKILL_PRODUCE_MIX_LIST, SMSG_PLAYER_SKILL_PRODUCE_EFFECT, + SMSG_SKILL_UNIT_UPDATE, 0 }; handledMessages = _messages; @@ -127,6 +128,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg) processSkillProduceEffect(msg); break; + case SMSG_SKILL_UNIT_UPDATE: + processSkillUnitUpdate(msg); + break; + default: break; } @@ -429,4 +434,11 @@ void SkillHandler::processSkillProduceEffect(Net::MessageIn &msg) msg.readInt16("item id"); } +void SkillHandler::processSkillUnitUpdate(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readInt32("being id"); +} + } // namespace EAthena diff --git a/src/net/eathena/skillhandler.h b/src/net/eathena/skillhandler.h index f1820ae3f..25fb1a805 100644 --- a/src/net/eathena/skillhandler.h +++ b/src/net/eathena/skillhandler.h @@ -75,6 +75,8 @@ class SkillHandler final : public MessageHandler, public Ea::SkillHandler static void processSkillProduceMixList(Net::MessageIn &msg); static void processSkillProduceEffect(Net::MessageIn &msg); + + static void processSkillUnitUpdate(Net::MessageIn &msg); }; } // namespace EAthena |