diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-11 17:46:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-11 17:46:35 +0300 |
commit | b7f3032a97ab619df3f03f7c5828575a884ba635 (patch) | |
tree | e16f6d083c9d525ec9ab0db015ff40c61b46d7cc /src/net/eathena | |
parent | 67b87c5338be8ffde31ce8a4d99d1d2541cddc92 (diff) | |
download | plus-b7f3032a97ab619df3f03f7c5828575a884ba635.tar.gz plus-b7f3032a97ab619df3f03f7c5828575a884ba635.tar.bz2 plus-b7f3032a97ab619df3f03f7c5828575a884ba635.tar.xz plus-b7f3032a97ab619df3f03f7c5828575a884ba635.zip |
eathena: add partial support for packet CMSG_WEDDING_EFFECT 0x01ea.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 12 | ||||
-rw-r--r-- | src/net/eathena/beinghandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 1 |
3 files changed, 15 insertions, 0 deletions
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 |