diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-11 18:31:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-11 18:31:02 +0300 |
commit | ffac5076dcc94ee88ce68d351de071ab8f830a77 (patch) | |
tree | 1f5c3b8ddf9ba1056521d19d1b4b7c0214f9daf0 /src/net/eathena/adminhandler.cpp | |
parent | 64d47f267be567cf259de29982acfed7eb76111e (diff) | |
download | mv-ffac5076dcc94ee88ce68d351de071ab8f830a77.tar.gz mv-ffac5076dcc94ee88ce68d351de071ab8f830a77.tar.bz2 mv-ffac5076dcc94ee88ce68d351de071ab8f830a77.tar.xz mv-ffac5076dcc94ee88ce68d351de071ab8f830a77.zip |
eathena: add packet CMSG_ADMIN_ID_TO_LOGIN 0x01df.
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r-- | src/net/eathena/adminhandler.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp index d99af7d1e..0d677a413 100644 --- a/src/net/eathena/adminhandler.cpp +++ b/src/net/eathena/adminhandler.cpp @@ -153,4 +153,13 @@ void AdminHandler::muteName(const std::string &name) const outMsg.writeString(name, 24, "name"); } +void AdminHandler::requestLogin(const Being *const being) const +{ + if (!being) + return; + + MessageOut outMsg(CMSG_ADMIN_ID_TO_LOGIN); + outMsg.writeInt32(being->getId(), "account id"); +} + } // namespace EAthena |