summaryrefslogtreecommitdiff
path: root/src/net/eathena/adminhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-11 16:42:47 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-11 16:42:47 +0300
commit06b7293d0f6b5dab909f108ce9dd38488d8ac48b (patch)
tree456b4c62be469eedcac0a48cba0fefa9c1e49f0c /src/net/eathena/adminhandler.cpp
parent1755745c3486fbed6b92c2ebacddae2fc6086443 (diff)
downloadmanaplus-06b7293d0f6b5dab909f108ce9dd38488d8ac48b.tar.gz
manaplus-06b7293d0f6b5dab909f108ce9dd38488d8ac48b.tar.bz2
manaplus-06b7293d0f6b5dab909f108ce9dd38488d8ac48b.tar.xz
manaplus-06b7293d0f6b5dab909f108ce9dd38488d8ac48b.zip
eathena: add packet CMSG_ADMIN_KICK_ALL 0x00ce.
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r--src/net/eathena/adminhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index aa4980fb9..10d573cf8 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -97,6 +97,11 @@ void AdminHandler::kick(const int playerId) const
outMsg.writeInt32(playerId, "account id");
}
+void AdminHandler::kickAll() const
+{
+ MessageOut outMsg(CMSG_ADMIN_KICK_ALL);
+}
+
void AdminHandler::warp(const std::string &map, const int x, const int y) const
{
MessageOut outMsg(CMSG_PLAYER_MAPMOVE);