summaryrefslogtreecommitdiff
path: root/src/net/ea/adminhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-25 13:09:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-25 13:09:04 +0300
commit90a652e5c672b9a11b165ee939889f406b852ee1 (patch)
tree4841dff5271783feb53cd2d5164aea4c2ebf69b7 /src/net/ea/adminhandler.h
parenta306ecf96736779b08d1de7ec994d3d741d5dc61 (diff)
downloadmanaverse-90a652e5c672b9a11b165ee939889f406b852ee1.tar.gz
manaverse-90a652e5c672b9a11b165ee939889f406b852ee1.tar.bz2
manaverse-90a652e5c672b9a11b165ee939889f406b852ee1.tar.xz
manaverse-90a652e5c672b9a11b165ee939889f406b852ee1.zip
improve adminhandler class.
Diffstat (limited to 'src/net/ea/adminhandler.h')
-rw-r--r--src/net/ea/adminhandler.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/net/ea/adminhandler.h b/src/net/ea/adminhandler.h
index 45b0af0f1..68b7c303e 100644
--- a/src/net/ea/adminhandler.h
+++ b/src/net/ea/adminhandler.h
@@ -42,17 +42,19 @@ class AdminHandler : public Net::AdminHandler
virtual void kickName(const std::string &name);
- virtual void ban(int playerId);
+ virtual void ban(const int playerId);
virtual void banName(const std::string &name);
- virtual void unban(int playerId);
+ virtual void unban(const int playerId);
virtual void unbanName(const std::string &name);
- virtual void mute(int playerId, int type, int limit);
+ virtual void mute(const int playerId, const int type,
+ const int limit);
- virtual void warp(std::string map, int x, int y);
+ virtual void warp(const std::string &map,
+ const int x, const int y);
};
} // namespace Ea