summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index ef22b4178..4082d85ef 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -129,6 +129,7 @@ BeingHandler::BeingHandler(const bool enableSync) :
SMSG_BLACKSMITH_RANKS_LIST,
SMSG_ALCHEMIST_RANKS_LIST,
SMSG_TAEKWON_RANKS_LIST,
+ SMSG_PK_RANKS_LIST,
0
};
handledMessages = _messages;
@@ -373,6 +374,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
processTaekwonRanksList(msg);
break;
+ case SMSG_PK_RANKS_LIST:
+ processPkRanksList(msg);
+ break;
+
default:
break;
}
@@ -1370,6 +1375,16 @@ void BeingHandler::processTaekwonRanksList(Net::MessageIn &msg)
msg.readInt32("points");
}
+void BeingHandler::processPkRanksList(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")