summaryrefslogtreecommitdiff
path: root/src/net/adminhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-28 22:10:30 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-28 22:10:30 +0300
commit15b9391da7ba4c307311d7dae6abc81a4b2bf25c (patch)
tree22abbcd556824073008de3493a42839848cef969 /src/net/adminhandler.h
parentcd0883a1704c1b514b8b7317358949d43e230644 (diff)
downloadmanaplus-15b9391da7ba4c307311d7dae6abc81a4b2bf25c.tar.gz
manaplus-15b9391da7ba4c307311d7dae6abc81a4b2bf25c.tar.bz2
manaplus-15b9391da7ba4c307311d7dae6abc81a4b2bf25c.tar.xz
manaplus-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.h4
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