diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-14 17:44:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-14 17:44:24 +0300 |
commit | 1a7dbe5947e107a8041056d36203c3d748302e82 (patch) | |
tree | bca6f3d3bc571ba0ed445f101a120c87ea0cb504 /src/net/eathena/playerrecv.cpp | |
parent | a31b61144f7420aa7e448b72d7b45a6e6c246255 (diff) | |
download | manaverse-1a7dbe5947e107a8041056d36203c3d748302e82.tar.gz manaverse-1a7dbe5947e107a8041056d36203c3d748302e82.tar.bz2 manaverse-1a7dbe5947e107a8041056d36203c3d748302e82.tar.xz manaverse-1a7dbe5947e107a8041056d36203c3d748302e82.zip |
Move function PlayerRecv::processPlayerClientCommand into ea namespace.
Diffstat (limited to 'src/net/eathena/playerrecv.cpp')
-rw-r--r-- | src/net/eathena/playerrecv.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp index e46eceab9..9db414edb 100644 --- a/src/net/eathena/playerrecv.cpp +++ b/src/net/eathena/playerrecv.cpp @@ -365,21 +365,6 @@ void PlayerRecv::processPlayerRankPoints(Net::MessageIn &msg) msg.readInt32("fame"); } -void PlayerRecv::processPlayerClientCommand(Net::MessageIn &msg) -{ - const int sz = msg.readInt16("len") - 4; - std::string command = msg.readString(sz, "command"); - std::string cmd; - std::string args; - - if (!parse2Str(command, cmd, args)) - { - cmd = command; - args.clear(); - } - inputManager.executeRemoteChatCommand(cmd, args, nullptr); -} - void PlayerRecv::processOnlineList(Net::MessageIn &msg) { if (!whoIsOnline) |