From 78ab801cc5dfe687718ec7e027c3050bed62a1e9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 19 May 2011 23:41:05 +0300 Subject: Start separating netcode to functions and moving some code to ea name space for future usage for different server types. Processed classes: adminhandler, beinghandler, buysellhandler. --- src/net/tmwa/adminhandler.h | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'src/net/tmwa/adminhandler.h') diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h index 60934be77..6c60398fc 100644 --- a/src/net/tmwa/adminhandler.h +++ b/src/net/tmwa/adminhandler.h @@ -26,6 +26,8 @@ #include "net/adminhandler.h" #include "net/net.h" +#include "net/ea/adminhandler.h" + #include "net/tmwa/messagehandler.h" #ifdef __GNUC__ @@ -37,7 +39,7 @@ namespace TmwAthena { -class AdminHandler : public MessageHandler, public Net::AdminHandler +class AdminHandler : public MessageHandler, public Ea::AdminHandler { public: AdminHandler(); @@ -51,18 +53,6 @@ class AdminHandler : public MessageHandler, public Net::AdminHandler void hide(bool hide); void kick(int playerId); - - void kick(const std::string &name); - - void ban(int playerId); - - void ban(const std::string &name); - - void unban(int playerId); - - void unban(const std::string &name); - - void mute(int playerId, int type, int limit); }; } // namespace TmwAthena -- cgit v1.2.3-60-g2f50