diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-12 12:20:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-12 12:20:41 +0300 |
commit | f4768ac990cbb0c0803c7eefef53df036b570a29 (patch) | |
tree | 2dc58135131f7adae49a7ad788496766137b126e /src/net/eathena/beinghandler.cpp | |
parent | 20d5e9013dec67afe4acd260bb28057b602cb626 (diff) | |
download | mv-f4768ac990cbb0c0803c7eefef53df036b570a29.tar.gz mv-f4768ac990cbb0c0803c7eefef53df036b570a29.tar.bz2 mv-f4768ac990cbb0c0803c7eefef53df036b570a29.tar.xz mv-f4768ac990cbb0c0803c7eefef53df036b570a29.zip |
eathena: add partial support for packet SMSG_BLACKSMITH_RANKS_LIST 0x0219.
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 12e2c943c..2e599ffbb 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -126,6 +126,7 @@ BeingHandler::BeingHandler(const bool enableSync) : CMSG_WEDDING_EFFECT, SMSG_BEING_SLIDE, SMSG_STARS_KILL, + SMSG_BLACKSMITH_RANKS_LIST, 0 }; handledMessages = _messages; @@ -358,6 +359,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processStarsKill(msg); break; + case SMSG_BLACKSMITH_RANKS_LIST: + processBlacksmithRanksList(msg); + break; + default: break; } @@ -1326,6 +1331,16 @@ void BeingHandler::processRanksList(Net::MessageIn &msg) msg.readInt32("my points"); } +void BeingHandler::processBlacksmithRanksList(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") |