From 2cf982bd6e7d98d201f4b9c81291cd23f56b529c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Mar 2015 17:16:28 +0300 Subject: eathena: add partial support for packet CMSG_BLADE_STOP 0x01d1. --- src/net/eathena/beinghandler.cpp | 14 ++++++++++++++ src/net/eathena/beinghandler.h | 2 ++ src/net/eathena/protocol.h | 1 + 3 files changed, 17 insertions(+) (limited to 'src/net') diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 0257c7a11..fc3a180d7 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -120,6 +120,7 @@ BeingHandler::BeingHandler(const bool enableSync) : SMSG_MONSTER_INFO, SMSG_CLASS_CHANGE, CMSG_SPIRIT_BALLS, + CMSG_BLADE_STOP, 0 }; handledMessages = _messages; @@ -328,6 +329,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processSpiritBalls(msg); break; + case CMSG_BLADE_STOP: + processBladeStop(msg); + break; + default: break; } @@ -1678,4 +1683,13 @@ void BeingHandler::processSpiritBalls(Net::MessageIn &msg) msg.readInt16("spirits amount"); } +void BeingHandler::processBladeStop(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readInt32("src being id"); + msg.readInt32("dst being id"); + msg.readInt32("flag"); +} + } // namespace EAthena diff --git a/src/net/eathena/beinghandler.h b/src/net/eathena/beinghandler.h index b0abda649..a4ed453aa 100644 --- a/src/net/eathena/beinghandler.h +++ b/src/net/eathena/beinghandler.h @@ -128,6 +128,8 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler static void processClassChange(Net::MessageIn &msg); static void processSpiritBalls(Net::MessageIn &msg); + + static void processBladeStop(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index c5332f079..ee1fbbcbc 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -564,6 +564,7 @@ #define CMSG_DORI_DORI 0x01e7 #define CMSG_EXPLOSION_SPIRITS 0x01ed #define CMSG_SPIRIT_BALLS 0x01d0 +#define CMSG_BLADE_STOP 0x01d1 #define CMSG_PVP_INFO 0x020f #define CMSG_PLAYER_AUTO_REVIVE 0x0292 #define CMSG_QUEST_ACTIVATE 0x02b6 -- cgit v1.2.3-70-g09d2