diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-11 16:42:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-11 16:42:47 +0300 |
commit | 06b7293d0f6b5dab909f108ce9dd38488d8ac48b (patch) | |
tree | 456b4c62be469eedcac0a48cba0fefa9c1e49f0c /src/net/tmwa | |
parent | 1755745c3486fbed6b92c2ebacddae2fc6086443 (diff) | |
download | plus-06b7293d0f6b5dab909f108ce9dd38488d8ac48b.tar.gz plus-06b7293d0f6b5dab909f108ce9dd38488d8ac48b.tar.bz2 plus-06b7293d0f6b5dab909f108ce9dd38488d8ac48b.tar.xz plus-06b7293d0f6b5dab909f108ce9dd38488d8ac48b.zip |
eathena: add packet CMSG_ADMIN_KICK_ALL 0x00ce.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/adminhandler.cpp | 4 | ||||
-rw-r--r-- | src/net/tmwa/adminhandler.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp index 7ca5e35e4..a227652be 100644 --- a/src/net/tmwa/adminhandler.cpp +++ b/src/net/tmwa/adminhandler.cpp @@ -99,6 +99,10 @@ void AdminHandler::kick(const int playerId) const outMsg.writeInt32(playerId, "account id"); } +void AdminHandler::kickAll() const +{ +} + void AdminHandler::warp(const std::string &map, const int x, const int y) const { Net::getChatHandler()->talk(strprintf( diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h index 111601a24..ac11e7c34 100644 --- a/src/net/tmwa/adminhandler.h +++ b/src/net/tmwa/adminhandler.h @@ -47,6 +47,8 @@ class AdminHandler final : public MessageHandler, public Ea::AdminHandler void kick(const int playerId) const override final; + void kickAll() const override final; + void warp(const std::string &map, const int x, const int y) const override final; |