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/beinghandler.cpp | |
parent | 3402b274b847cf5adef6beb1d1bd81eb01300898 (diff) | |
download | manaplus-67b87c5338be8ffde31ce8a4d99d1d2541cddc92.tar.gz manaplus-67b87c5338be8ffde31ce8a4d99d1d2541cddc92.tar.bz2 manaplus-67b87c5338be8ffde31ce8a4d99d1d2541cddc92.tar.xz manaplus-67b87c5338be8ffde31ce8a4d99d1d2541cddc92.zip |
eathena: add partial support for packet CMSG_SPIRIT_BALL_SINGLE 0x01e1.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 13 |
1 files changed, 13 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; |