diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-19 23:41:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-20 20:50:00 +0300 |
commit | 78ab801cc5dfe687718ec7e027c3050bed62a1e9 (patch) | |
tree | 064fc82cf6aed1dbcd0a5650b146e74cf23a20a0 /src/net/tmwa/adminhandler.h | |
parent | 2a2155ae3c601fe1f813f9214b1421e4ac634148 (diff) | |
download | mv-78ab801cc5dfe687718ec7e027c3050bed62a1e9.tar.gz mv-78ab801cc5dfe687718ec7e027c3050bed62a1e9.tar.bz2 mv-78ab801cc5dfe687718ec7e027c3050bed62a1e9.tar.xz mv-78ab801cc5dfe687718ec7e027c3050bed62a1e9.zip |
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.
Diffstat (limited to 'src/net/tmwa/adminhandler.h')
-rw-r--r-- | src/net/tmwa/adminhandler.h | 16 |
1 files changed, 3 insertions, 13 deletions
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 |