diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-24 17:09:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-24 17:09:20 +0300 |
commit | 66c5eb00b62cba0244446a8306dde1ae138d2e06 (patch) | |
tree | 41fefef24147487d9753e24ca5b4e340f14b554f /src/net/tmwa | |
parent | f0906ab944c982da76a5c123100e567e1db680ac (diff) | |
download | plus-66c5eb00b62cba0244446a8306dde1ae138d2e06.tar.gz plus-66c5eb00b62cba0244446a8306dde1ae138d2e06.tar.bz2 plus-66c5eb00b62cba0244446a8306dde1ae138d2e06.tar.xz plus-66c5eb00b62cba0244446a8306dde1ae138d2e06.zip |
Add chat command /gmcommands. Also add show 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 1c745c81f..6050d2375 100644 --- a/src/net/tmwa/adminhandler.cpp +++ b/src/net/tmwa/adminhandler.cpp @@ -146,4 +146,8 @@ void AdminHandler::mobSpawnSearch(const std::string &name A_UNUSED) const { } +void AdminHandler::playerGmCommands(const std::string &name A_UNUSED) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h index 57b682703..fab21a9ed 100644 --- a/src/net/tmwa/adminhandler.h +++ b/src/net/tmwa/adminhandler.h @@ -83,6 +83,9 @@ class AdminHandler final : public Ea::AdminHandler void mobSpawnSearch(const std::string &name) const override final A_CONST; + + void playerGmCommands(const std::string &name) const override final + A_CONST; }; } // namespace TmwAthena |