diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-12 14:53:32 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-12 14:58:48 +0200 |
commit | 92a8e0403595cd0f4b8b2084c45ec79edca7e7c1 (patch) | |
tree | d1d4b2b6638935f666c6512b467a6ffc3017fb60 /src/net/tmwserv/loginhandler.h | |
parent | 14a6e6a4bc5d39ddf8f31efc07a5e2493a6f6d0a (diff) | |
download | mana-client-92a8e0403595cd0f4b8b2084c45ec79edca7e7c1.tar.gz mana-client-92a8e0403595cd0f4b8b2084c45ec79edca7e7c1.tar.bz2 mana-client-92a8e0403595cd0f4b8b2084c45ec79edca7e7c1.tar.xz mana-client-92a8e0403595cd0f4b8b2084c45ec79edca7e7c1.zip |
Append _F or _M to username in eAthena network layer
Abstracts it away and out of main.cpp and register.cpp.
Diffstat (limited to 'src/net/tmwserv/loginhandler.h')
-rw-r--r-- | src/net/tmwserv/loginhandler.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/net/tmwserv/loginhandler.h b/src/net/tmwserv/loginhandler.h index 93d55396..f3bc0c6d 100644 --- a/src/net/tmwserv/loginhandler.h +++ b/src/net/tmwserv/loginhandler.h @@ -41,17 +41,15 @@ class LoginHandler : public MessageHandler, public Net::LoginHandler void changeEmail(const std::string &email); void changePassword(const std::string &username, - const std::string &oldPassword, - const std::string &newPassword); + const std::string &oldPassword, + const std::string &newPassword); void chooseServer(int server); - void registerAccount(const std::string &username, - const std::string &password, - const std::string &email); + void registerAccount(LoginData *loginData); void unregisterAccount(const std::string &username, - const std::string &password); + const std::string &password); private: void handleLoginResponse(MessageIn &msg); |