From f4768ac990cbb0c0803c7eefef53df036b570a29 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 12 Mar 2015 12:20:41 +0300 Subject: eathena: add partial support for packet SMSG_BLACKSMITH_RANKS_LIST 0x0219. --- src/net/eathena/beinghandler.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/net/eathena/beinghandler.cpp') 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") -- cgit v1.2.3-70-g09d2