From b56d93804c561ed11d678ab193d1d7ddc8e586b1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Mar 2015 17:21:19 +0300 Subject: eathena: add partial support for packet CMSG_COMBO_DELAY 0x01d2. --- src/net/eathena/beinghandler.cpp | 13 +++++++++++++ src/net/eathena/beinghandler.h | 2 ++ src/net/eathena/protocol.h | 1 + 3 files changed, 16 insertions(+) (limited to 'src') diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index fc3a180d7..888c8e46e 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -121,6 +121,7 @@ BeingHandler::BeingHandler(const bool enableSync) : SMSG_CLASS_CHANGE, CMSG_SPIRIT_BALLS, CMSG_BLADE_STOP, + CMSG_COMBO_DELAY, 0 }; handledMessages = _messages; @@ -333,6 +334,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processBladeStop(msg); break; + case CMSG_COMBO_DELAY: + processComboDelay(msg); + break; + default: break; } @@ -1692,4 +1697,12 @@ void BeingHandler::processBladeStop(Net::MessageIn &msg) msg.readInt32("flag"); } +void BeingHandler::processComboDelay(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readInt32("being id"); + msg.readInt32("wait"); +} + } // namespace EAthena diff --git a/src/net/eathena/beinghandler.h b/src/net/eathena/beinghandler.h index a4ed453aa..0609f8647 100644 --- a/src/net/eathena/beinghandler.h +++ b/src/net/eathena/beinghandler.h @@ -130,6 +130,8 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler static void processSpiritBalls(Net::MessageIn &msg); static void processBladeStop(Net::MessageIn &msg); + + static void processComboDelay(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index ee1fbbcbc..72bfc4f75 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -565,6 +565,7 @@ #define CMSG_EXPLOSION_SPIRITS 0x01ed #define CMSG_SPIRIT_BALLS 0x01d0 #define CMSG_BLADE_STOP 0x01d1 +#define CMSG_COMBO_DELAY 0x01d2 #define CMSG_PVP_INFO 0x020f #define CMSG_PLAYER_AUTO_REVIVE 0x0292 #define CMSG_QUEST_ACTIVATE 0x02b6 -- cgit v1.2.3-70-g09d2