diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-11 17:05:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-11 17:05:51 +0300 |
commit | 414d1437641e999c95240b61c9c4af98d4fc4c17 (patch) | |
tree | 70d6799c1fb106bb7cc8755a41704d51f238ddd7 /src/net/eathena/beinghandler.cpp | |
parent | 1438f4a6e9e5498d2fce8e8aae9bf30e6e6a4a5c (diff) | |
download | mv-414d1437641e999c95240b61c9c4af98d4fc4c17.tar.gz mv-414d1437641e999c95240b61c9c4af98d4fc4c17.tar.bz2 mv-414d1437641e999c95240b61c9c4af98d4fc4c17.tar.xz mv-414d1437641e999c95240b61c9c4af98d4fc4c17.zip |
eathena: add partial support for packet CMSG_SPIRIT_BALLS 0x01d0.
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 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 |