diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-28 22:10:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-28 22:10:30 +0300 |
commit | 15b9391da7ba4c307311d7dae6abc81a4b2bf25c (patch) | |
tree | 22abbcd556824073008de3493a42839848cef969 /src/net/adminhandler.h | |
parent | cd0883a1704c1b514b8b7317358949d43e230644 (diff) | |
download | mv-15b9391da7ba4c307311d7dae6abc81a4b2bf25c.tar.gz mv-15b9391da7ba4c307311d7dae6abc81a4b2bf25c.tar.bz2 mv-15b9391da7ba4c307311d7dae6abc81a4b2bf25c.tar.xz mv-15b9391da7ba4c307311d7dae6abc81a4b2bf25c.zip |
Add chat command /npcmove. Also add it to npc context menu.
Diffstat (limited to 'src/net/adminhandler.h')
-rw-r--r-- | src/net/adminhandler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/adminhandler.h b/src/net/adminhandler.h index 000938240..8674a341d 100644 --- a/src/net/adminhandler.h +++ b/src/net/adminhandler.h @@ -162,6 +162,10 @@ class AdminHandler notfinal virtual void jail(const std::string &name) const = 0; virtual void unjail(const std::string &name) const = 0; + + virtual void npcMove(const std::string &name, + const int x, + const int y) const = 0; }; } // namespace Net |