summaryrefslogtreecommitdiff
path: root/src/net/adminhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-11 20:49:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-11 20:52:50 +0300
commite36c735ce6569cd9c0e668632e59bcbe3280d507 (patch)
treeeb8fa3f8800d95bcd0c6b3c1ea314567f56debb4 /src/net/adminhandler.h
parentffd452cd1ee7d252355c259ca2bae1d40c0e97e9 (diff)
downloadmv-e36c735ce6569cd9c0e668632e59bcbe3280d507.tar.gz
mv-e36c735ce6569cd9c0e668632e59bcbe3280d507.tar.bz2
mv-e36c735ce6569cd9c0e668632e59bcbe3280d507.tar.xz
mv-e36c735ce6569cd9c0e668632e59bcbe3280d507.zip
Add chat command for gms for creating items.
New command: /createitems It will open creation window.
Diffstat (limited to 'src/net/adminhandler.h')
-rw-r--r--src/net/adminhandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/adminhandler.h b/src/net/adminhandler.h
index eca8ef4d0..7178aacae 100644
--- a/src/net/adminhandler.h
+++ b/src/net/adminhandler.h
@@ -58,6 +58,9 @@ class AdminHandler
virtual void warp(const std::string &map,
const int x, const int y) const = 0;
+
+ virtual void createItems(const int id, const int color,
+ const int amount) = 0;
};
} // namespace Net