diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-16 16:54:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-16 16:54:10 +0300 |
commit | 2b3b773d1b902eb0797e2d9fc034d63559af87a3 (patch) | |
tree | 58749facbde590e8658e75c56825b0a9b703fcd6 /src/net/ea | |
parent | bb58d4020ff5d8ade0fec58d3e311ac211c262ef (diff) | |
download | plus-2b3b773d1b902eb0797e2d9fc034d63559af87a3.tar.gz plus-2b3b773d1b902eb0797e2d9fc034d63559af87a3.tar.bz2 plus-2b3b773d1b902eb0797e2d9fc034d63559af87a3.tar.xz plus-2b3b773d1b902eb0797e2d9fc034d63559af87a3.zip |
Move processPvpSet from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/beinghandler.cpp | 15 | ||||
-rw-r--r-- | src/net/ea/beinghandler.h | 2 |
2 files changed, 0 insertions, 17 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 0c4a83b42..c86414022 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -418,21 +418,6 @@ void BeingHandler::processPvpMapMode(Net::MessageIn &msg) BLOCK_END("BeingHandler::processPvpMapMode") } -void BeingHandler::processPvpSet(Net::MessageIn &msg) -{ - BLOCK_START("BeingHandler::processPvpSet") - const BeingId id = msg.readBeingId("being id"); - const int rank = msg.readInt32("rank"); - msg.readInt32("num"); - if (actorManager) - { - Being *const dstBeing = actorManager->findBeing(id); - if (dstBeing) - dstBeing->setPvpRank(rank); - } - BLOCK_END("BeingHandler::processPvpSet") -} - void BeingHandler::processNameResponse2(Net::MessageIn &msg) { BLOCK_START("BeingHandler::processNameResponse2") diff --git a/src/net/ea/beinghandler.h b/src/net/ea/beinghandler.h index 55e4a3ef2..b5a4768fc 100644 --- a/src/net/ea/beinghandler.h +++ b/src/net/ea/beinghandler.h @@ -64,8 +64,6 @@ class BeingHandler notfinal : public Net::BeingHandler static void processPvpMapMode(Net::MessageIn &msg); - static void processPvpSet(Net::MessageIn &msg); - static void processNameResponse2(Net::MessageIn &msg); static void processBeingMove3(Net::MessageIn &msg); |