From 15b9391da7ba4c307311d7dae6abc81a4b2bf25c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Feb 2016 22:10:30 +0300 Subject: Add chat command /npcmove. Also add it to npc context menu. --- src/net/adminhandler.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/adminhandler.h') 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 -- cgit v1.2.3-70-g09d2