diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-12 12:55:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-12 12:55:47 +0300 |
commit | c98f3b83900b8cd3cb3cdfb30215541e6f08d140 (patch) | |
tree | 80dc2a8f6ebd9afc7e93e153a85f27d922c80012 /src/net/eathena/beinghandler.cpp | |
parent | 1c60e420b61705e82b301caacb9760ef4d1090dc (diff) | |
download | plus-c98f3b83900b8cd3cb3cdfb30215541e6f08d140.tar.gz plus-c98f3b83900b8cd3cb3cdfb30215541e6f08d140.tar.bz2 plus-c98f3b83900b8cd3cb3cdfb30215541e6f08d140.tar.xz plus-c98f3b83900b8cd3cb3cdfb30215541e6f08d140.zip |
eathena: add partial support for packet SMSG_ALCHEMIST_RANKS_LIST 0x021a.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 9b035b136..74d0d6128 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -127,6 +127,7 @@ BeingHandler::BeingHandler(const bool enableSync) : SMSG_BEING_SLIDE, SMSG_STARS_KILL, SMSG_BLACKSMITH_RANKS_LIST, + SMSG_ALCHEMIST_RANKS_LIST, 0 }; handledMessages = _messages; @@ -363,6 +364,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processBlacksmithRanksList(msg); break; + case SMSG_ALCHEMIST_RANKS_LIST: + processAlchemistRanksList(msg); + break; + default: break; } @@ -1340,6 +1345,16 @@ void BeingHandler::processBlacksmithRanksList(Net::MessageIn &msg) msg.readInt32("points"); } +void BeingHandler::processAlchemistRanksList(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + // +++ here need window with rank tables. + for (int f = 0; f < 10; f ++) + msg.readString(24, "name"); + for (int f = 0; f < 10; f ++) + msg.readInt32("points"); +} + void BeingHandler::processBeingChangeDirection(Net::MessageIn &msg) { BLOCK_START("BeingHandler::processBeingChangeDirection") |