diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-18 13:29:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-18 13:29:46 +0300 |
commit | e1aaae7552565cc2289312e180489459178b0e36 (patch) | |
tree | 4e19db38fc703b1e6bf4143c1f34f060bcda5ee1 /src/net/eathena/beinghandler.cpp | |
parent | 0c291817a1e3fb61e229a2aa0037983ab2f0bf07 (diff) | |
download | mv-e1aaae7552565cc2289312e180489459178b0e36.tar.gz mv-e1aaae7552565cc2289312e180489459178b0e36.tar.bz2 mv-e1aaae7552565cc2289312e180489459178b0e36.tar.xz mv-e1aaae7552565cc2289312e180489459178b0e36.zip |
eathena: add partial support for packet SMSG_BEING_CHARM 0x08cf.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 13fa26032..beda48d15 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -133,6 +133,7 @@ BeingHandler::BeingHandler(const bool enableSync) : SMSG_BOSS_MAP_INFO, SMSG_BEING_FONT, SMSG_BEING_MILLENIUM_SHIELD, + SMSG_BEING_CHARM, 0 }; handledMessages = _messages; @@ -397,6 +398,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processBeingMilleniumShield(msg); break; + case SMSG_BEING_CHARM: + processBeingCharm(msg); + break; + default: break; } @@ -1875,4 +1880,13 @@ void BeingHandler::processBeingMilleniumShield(Net::MessageIn &msg) msg.readInt16("unused"); } +void BeingHandler::processBeingCharm(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readInt32("account id"); + msg.readInt16("charm type"); + msg.readInt16("charm count"); +} + } // namespace EAthena |