diff options
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 b7ea9024d..0257c7a11 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -119,6 +119,7 @@ BeingHandler::BeingHandler(const bool enableSync) : SMSG_BEING_ATTRS, SMSG_MONSTER_INFO, SMSG_CLASS_CHANGE, + CMSG_SPIRIT_BALLS, 0 }; handledMessages = _messages; @@ -323,6 +324,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processClassChange(msg); break; + case CMSG_SPIRIT_BALLS: + processSpiritBalls(msg); + break; + default: break; } @@ -1665,4 +1670,12 @@ void BeingHandler::processClassChange(Net::MessageIn &msg) msg.readInt32("class"); } +void BeingHandler::processSpiritBalls(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readInt32("being id"); + msg.readInt16("spirits amount"); +} + } // namespace EAthena diff --git a/src/net/eathena/beinghandler.h b/src/net/eathena/beinghandler.h index b0743a2f7..b0abda649 100644 --- a/src/net/eathena/beinghandler.h +++ b/src/net/eathena/beinghandler.h @@ -126,6 +126,8 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler static void processMonsterInfo(Net::MessageIn &msg); static void processClassChange(Net::MessageIn &msg); + + static void processSpiritBalls(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index c092a3a21..c5332f079 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -563,6 +563,7 @@ #define CMSG_DORI_DORI 0x01e7 #define CMSG_EXPLOSION_SPIRITS 0x01ed +#define CMSG_SPIRIT_BALLS 0x01d0 #define CMSG_PVP_INFO 0x020f #define CMSG_PLAYER_AUTO_REVIVE 0x0292 #define CMSG_QUEST_ACTIVATE 0x02b6 |