diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-24 01:42:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-24 01:42:41 +0300 |
commit | 5b03a091589806dd2250db646b7739f09e55d424 (patch) | |
tree | da7d5f0f281560c7ef31bff779a35c1bbd296dc2 /src/net/eathena | |
parent | 398e7e04c6232d2076a44040548cbc88497a155b (diff) | |
download | mv-5b03a091589806dd2250db646b7739f09e55d424.tar.gz mv-5b03a091589806dd2250db646b7739f09e55d424.tar.bz2 mv-5b03a091589806dd2250db646b7739f09e55d424.tar.xz mv-5b03a091589806dd2250db646b7739f09e55d424.zip |
Add chat command for gm /mobsearch
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/adminhandler.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/adminhandler.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp index 3064a9ca2..d13c29a31 100644 --- a/src/net/eathena/adminhandler.cpp +++ b/src/net/eathena/adminhandler.cpp @@ -177,4 +177,9 @@ void AdminHandler::whoDrops(const std::string &name) const chatHandler->talk("@whodrops " + name, GENERAL_CHANNEL); } +void AdminHandler::mobSearch(const std::string &name) const +{ + chatHandler->talk("@mobsearch " + name, GENERAL_CHANNEL); +} + } // namespace EAthena diff --git a/src/net/eathena/adminhandler.h b/src/net/eathena/adminhandler.h index e7a5a1473..79ce6cf23 100644 --- a/src/net/eathena/adminhandler.h +++ b/src/net/eathena/adminhandler.h @@ -77,6 +77,8 @@ class AdminHandler final : public Ea::AdminHandler void whoDrops(const std::string &name) const override final; + void mobSearch(const std::string &name) const override final; + protected: static std::string mStatsName; }; |