diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-11 16:52:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-11 16:52:02 +0300 |
commit | ea71948915fdfd9e658808a049283cf09a2b1694 (patch) | |
tree | cc68a6e03c49858728b03411263b03a3b2e95bdd | |
parent | df22a0dfb16eeeadb90ef9944c97b5d49303a306 (diff) | |
download | manaplus-ea71948915fdfd9e658808a049283cf09a2b1694.tar.gz manaplus-ea71948915fdfd9e658808a049283cf09a2b1694.tar.bz2 manaplus-ea71948915fdfd9e658808a049283cf09a2b1694.tar.xz manaplus-ea71948915fdfd9e658808a049283cf09a2b1694.zip |
eathena: add packet CMSG_ADMIN_GOTO 0x01bb.
-rw-r--r-- | src/net/eathena/adminhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp index f470753e9..a64374a38 100644 --- a/src/net/eathena/adminhandler.cpp +++ b/src/net/eathena/adminhandler.cpp @@ -124,6 +124,8 @@ void AdminHandler::resetSkills() const void AdminHandler::gotoName(const std::string &name) const { + MessageOut outMsg(CMSG_ADMIN_GOTO); + outMsg.writeString(name, 24, "name"); } } // namespace EAthena diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index d3e02338e..5b8b7e274 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -303,6 +303,7 @@ #define CMSG_ADMIN_KICK_ALL 0x00ce #define CMSG_ADMIN_MUTE 0x0149 #define CMSG_ADMIN_RESET_PLAYER 0x0197 +#define CMSG_ADMIN_GOTO 0x01bb #define CMSG_GUILD_CHECK_MASTER 0x014d #define CMSG_GUILD_REQUEST_INFO 0x014f |