summaryrefslogtreecommitdiff
path: root/src/net/adminhandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-05 21:50:02 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-05 21:50:02 -0600
commitbcc4695387d21f9629ab6f013aadbfe0d238aa6d (patch)
tree2e095ec94e99e788eb851a37cdf5eae68270424c /src/net/adminhandler.h
parent9078373860729cdf80db8d09cbdee478dc54ec64 (diff)
downloadmana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.gz
mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.bz2
mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.xz
mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.zip
Implement TMWServ's Admin-, Chat-, and MapHandlers
Diffstat (limited to 'src/net/adminhandler.h')
-rw-r--r--src/net/adminhandler.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/net/adminhandler.h b/src/net/adminhandler.h
index c6073b4f..ee046323 100644
--- a/src/net/adminhandler.h
+++ b/src/net/adminhandler.h
@@ -28,25 +28,25 @@ namespace Net {
class AdminHandler
{
public:
- virtual void announce(const std::string &text) {}
+ virtual void announce(const std::string &text) = 0;
- virtual void localAnnounce(const std::string &text) {}
+ virtual void localAnnounce(const std::string &text) = 0;
- virtual void hide(bool hide) {}
+ virtual void hide(bool hide) = 0;
- virtual void kick(int playerId) {}
+ virtual void kick(int playerId) = 0;
- virtual void kick(const std::string &name) {}
+ virtual void kick(const std::string &name) = 0;
- virtual void ban(int playerId) {}
+ virtual void ban(int playerId) = 0;
- virtual void ban(const std::string &name) {}
+ virtual void ban(const std::string &name) = 0;
- virtual void unban(int playerId) {}
+ virtual void unban(int playerId) = 0;
- virtual void unban(const std::string &name) {}
+ virtual void unban(const std::string &name) = 0;
- virtual void mute(int playerId, int type, int limit) {}
+ virtual void mute(int playerId, int type, int limit) = 0;
// TODO
};