diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-15 00:22:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-15 00:22:39 +0300 |
commit | 336ec8a82855858701647c809d7214dece69dd87 (patch) | |
tree | 5f03fb33363afcd208d718f3f5185ec0b88b1c49 /src/net/eathena/loginhandler.h | |
parent | a515a9c9f6f1a6f7a0d94e0ceba5ed52c69902bb (diff) | |
download | mv-336ec8a82855858701647c809d7214dece69dd87.tar.gz mv-336ec8a82855858701647c809d7214dece69dd87.tar.bz2 mv-336ec8a82855858701647c809d7214dece69dd87.tar.xz mv-336ec8a82855858701647c809d7214dece69dd87.zip |
eathena: add support for change password.
Diffstat (limited to 'src/net/eathena/loginhandler.h')
-rw-r--r-- | src/net/eathena/loginhandler.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/eathena/loginhandler.h b/src/net/eathena/loginhandler.h index c1543e627..abca1d359 100644 --- a/src/net/eathena/loginhandler.h +++ b/src/net/eathena/loginhandler.h @@ -50,8 +50,7 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler unsigned int getMaxPasswordLength() const override final A_WARN_UNUSED { return 24; } - void changePassword(const std::string &restrict username, - const std::string &restrict oldPassword, + void changePassword(const std::string &restrict oldPassword, const std::string &restrict newPassword) const override final; @@ -72,6 +71,8 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler static void processCondingKey(Net::MessageIn &msg); + static void processCharPasswordResponse(Net::MessageIn &msg); + private: void sendLoginRegister(const std::string &restrict username, const std::string &restrict password, |