summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-12 14:24:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-12 14:24:44 +0300
commit43fb66a1610aeca72dab2527da95abdadb826697 (patch)
treef8c5438c53d74db20220989d4eb12cae865db8e3 /src/net/eathena/beinghandler.cpp
parent5d2962b4a09a71d47a241a762124c9e5526072f8 (diff)
downloadmanaplus-43fb66a1610aeca72dab2527da95abdadb826697.tar.gz
manaplus-43fb66a1610aeca72dab2527da95abdadb826697.tar.bz2
manaplus-43fb66a1610aeca72dab2527da95abdadb826697.tar.xz
manaplus-43fb66a1610aeca72dab2527da95abdadb826697.zip
eathena: add partial support for packet SMSG_TAEKWON_RANKS_LIST 0x0226.
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 74d0d6128..ef22b4178 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -128,6 +128,7 @@ BeingHandler::BeingHandler(const bool enableSync) :
SMSG_STARS_KILL,
SMSG_BLACKSMITH_RANKS_LIST,
SMSG_ALCHEMIST_RANKS_LIST,
+ SMSG_TAEKWON_RANKS_LIST,
0
};
handledMessages = _messages;
@@ -368,6 +369,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
processAlchemistRanksList(msg);
break;
+ case SMSG_TAEKWON_RANKS_LIST:
+ processTaekwonRanksList(msg);
+ break;
+
default:
break;
}
@@ -1355,6 +1360,16 @@ void BeingHandler::processAlchemistRanksList(Net::MessageIn &msg)
msg.readInt32("points");
}
+void BeingHandler::processTaekwonRanksList(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")