diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-24 17:19:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-24 17:19:40 +0300 |
commit | 142cdd218fe10efbea5ceb78cb7947812c35e19e (patch) | |
tree | 38a40bddc3b8c9d719ad3f370aecd4ceb191f728 /src/net/tmwa | |
parent | 66c5eb00b62cba0244446a8306dde1ae138d2e06 (diff) | |
download | mv-142cdd218fe10efbea5ceb78cb7947812c35e19e.tar.gz mv-142cdd218fe10efbea5ceb78cb7947812c35e19e.tar.bz2 mv-142cdd218fe10efbea5ceb78cb7947812c35e19e.tar.xz mv-142cdd218fe10efbea5ceb78cb7947812c35e19e.zip |
Add chat command /gmcharcommands. Also add show char commands to player context menu.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/adminhandler.cpp | 4 | ||||
-rw-r--r-- | src/net/tmwa/adminhandler.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp index 6050d2375..91a1985b1 100644 --- a/src/net/tmwa/adminhandler.cpp +++ b/src/net/tmwa/adminhandler.cpp @@ -150,4 +150,8 @@ void AdminHandler::playerGmCommands(const std::string &name A_UNUSED) const { } +void AdminHandler::playerCharGmCommands(const std::string &name A_UNUSED) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h index fab21a9ed..35a12913a 100644 --- a/src/net/tmwa/adminhandler.h +++ b/src/net/tmwa/adminhandler.h @@ -86,6 +86,9 @@ class AdminHandler final : public Ea::AdminHandler void playerGmCommands(const std::string &name) const override final A_CONST; + + void playerCharGmCommands(const std::string &name) const override final + A_CONST; }; } // namespace TmwAthena |