diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-11 17:35:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-11 17:35:28 +0300 |
commit | 67b87c5338be8ffde31ce8a4d99d1d2541cddc92 (patch) | |
tree | c8a403722d05cd90dfe09087c0200a968bbe7d9f /src/net/eathena | |
parent | 3402b274b847cf5adef6beb1d1bd81eb01300898 (diff) | |
download | manaverse-67b87c5338be8ffde31ce8a4d99d1d2541cddc92.tar.gz manaverse-67b87c5338be8ffde31ce8a4d99d1d2541cddc92.tar.bz2 manaverse-67b87c5338be8ffde31ce8a4d99d1d2541cddc92.tar.xz manaverse-67b87c5338be8ffde31ce8a4d99d1d2541cddc92.zip |
eathena: add partial support for packet CMSG_SPIRIT_BALL_SINGLE 0x01e1.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 13 | ||||
-rw-r--r-- | src/net/eathena/beinghandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 1 |
3 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 888c8e46e..7163eb6df 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_SPIRIT_BALL_SINGLE, CMSG_BLADE_STOP, CMSG_COMBO_DELAY, 0 @@ -330,6 +331,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processSpiritBalls(msg); break; + case CMSG_SPIRIT_BALL_SINGLE: + processSpiritBallSingle(msg); + break; + case CMSG_BLADE_STOP: processBladeStop(msg); break; @@ -1688,6 +1693,14 @@ void BeingHandler::processSpiritBalls(Net::MessageIn &msg) msg.readInt16("spirits amount"); } +void BeingHandler::processSpiritBallSingle(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readInt32("being id"); + msg.readInt16("spirits amount"); +} + void BeingHandler::processBladeStop(Net::MessageIn &msg) { UNIMPLIMENTEDPACKET; diff --git a/src/net/eathena/beinghandler.h b/src/net/eathena/beinghandler.h index 0609f8647..dff1f5870 100644 --- a/src/net/eathena/beinghandler.h +++ b/src/net/eathena/beinghandler.h @@ -129,6 +129,8 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler static void processSpiritBalls(Net::MessageIn &msg); + static void processSpiritBallSingle(Net::MessageIn &msg); + static void processBladeStop(Net::MessageIn &msg); static void processComboDelay(Net::MessageIn &msg); diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 49a74e3aa..206ea2477 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -565,6 +565,7 @@ #define CMSG_DORI_DORI 0x01e7 #define CMSG_EXPLOSION_SPIRITS 0x01ed #define CMSG_SPIRIT_BALLS 0x01d0 +#define CMSG_SPIRIT_BALL_SINGLE 0x01e1 #define CMSG_BLADE_STOP 0x01d1 #define CMSG_COMBO_DELAY 0x01d2 #define CMSG_PVP_INFO 0x020f |