From b7f3032a97ab619df3f03f7c5828575a884ba635 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Mar 2015 17:46:35 +0300 Subject: eathena: add partial support for packet CMSG_WEDDING_EFFECT 0x01ea. --- src/net/eathena/beinghandler.cpp | 12 ++++++++++++ src/net/eathena/beinghandler.h | 2 ++ src/net/eathena/protocol.h | 1 + 3 files changed, 15 insertions(+) diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 7163eb6df..f5f4044a7 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -123,6 +123,7 @@ BeingHandler::BeingHandler(const bool enableSync) : CMSG_SPIRIT_BALL_SINGLE, CMSG_BLADE_STOP, CMSG_COMBO_DELAY, + CMSG_WEDDING_EFFECT, 0 }; handledMessages = _messages; @@ -343,6 +344,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processComboDelay(msg); break; + case CMSG_WEDDING_EFFECT: + processWddingEffect(msg); + break; + default: break; } @@ -1718,4 +1723,11 @@ void BeingHandler::processComboDelay(Net::MessageIn &msg) msg.readInt32("wait"); } +void BeingHandler::processWddingEffect(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readInt32("being id"); +} + } // namespace EAthena diff --git a/src/net/eathena/beinghandler.h b/src/net/eathena/beinghandler.h index dff1f5870..384ec63b4 100644 --- a/src/net/eathena/beinghandler.h +++ b/src/net/eathena/beinghandler.h @@ -134,6 +134,8 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler static void processBladeStop(Net::MessageIn &msg); static void processComboDelay(Net::MessageIn &msg); + + static void processWddingEffect(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 206ea2477..7ef357683 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -568,6 +568,7 @@ #define CMSG_SPIRIT_BALL_SINGLE 0x01e1 #define CMSG_BLADE_STOP 0x01d1 #define CMSG_COMBO_DELAY 0x01d2 +#define CMSG_WEDDING_EFFECT 0x01ea #define CMSG_PVP_INFO 0x020f #define CMSG_PLAYER_AUTO_REVIVE 0x0292 #define CMSG_QUEST_ACTIVATE 0x02b6 -- cgit v1.2.3-70-g09d2