diff options
Diffstat (limited to 'src/net/eathena')
-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 |