diff options
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 7a45bb346..958cd1391 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -97,6 +97,7 @@ BeingHandler::BeingHandler(const bool enableSync) : SMSG_MONSTER_HP, SMSG_PLAYER_HP, SMSG_SKILL_AUTO_CAST, + SMSG_RANKS_LIST, 0 }; handledMessages = _messages; @@ -235,6 +236,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processMonsterHp(msg); break; + case SMSG_RANKS_LIST: + processRanksList(msg); + break; + default: break; } @@ -1093,4 +1098,16 @@ void BeingHandler::processSkillAutoCast(Net::MessageIn &msg) const msg.readInt8("unused"); } +void BeingHandler::processRanksList(Net::MessageIn &msg) const +{ + // +++ here need window with rank tables. + msg.readInt16("rank type"); + for (int f = 0; f < 10; f ++) + { + msg.readString(24, "name"); + msg.readInt32("points"); + } + msg.readInt32("my points"); +} + } // namespace EAthena |