summaryrefslogtreecommitdiff
path: root/src/net/ea/loginhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-27 18:28:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-27 18:28:19 +0300
commitcce98d5c3e1a8e48246eed2fa8df63f0500198db (patch)
tree7d7b4a03ef9bb410d357be5a17a81ab396f10a07 /src/net/ea/loginhandler.h
parent750a31150ed7fc4b3e7b295552207783f7e4a0d3 (diff)
downloadmv-cce98d5c3e1a8e48246eed2fa8df63f0500198db.tar.gz
mv-cce98d5c3e1a8e48246eed2fa8df63f0500198db.tar.bz2
mv-cce98d5c3e1a8e48246eed2fa8df63f0500198db.tar.xz
mv-cce98d5c3e1a8e48246eed2fa8df63f0500198db.zip
Move receive code from loginhandler into separate file.
Diffstat (limited to 'src/net/ea/loginhandler.h')
-rw-r--r--src/net/ea/loginhandler.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h
index 96a228b07..9dc559dab 100644
--- a/src/net/ea/loginhandler.h
+++ b/src/net/ea/loginhandler.h
@@ -70,8 +70,7 @@ class LoginHandler notfinal : public Net::LoginHandler
virtual ServerInfo *getCharServer() const A_WARN_UNUSED = 0;
- const Token &getToken() const A_WARN_UNUSED
- { return mToken; }
+ const Token &getToken() const A_WARN_UNUSED;
void logout() const override final;
@@ -86,21 +85,9 @@ class LoginHandler notfinal : public Net::LoginHandler
protected:
LoginHandler();
- static void processUpdateHost(Net::MessageIn &msg);
-
- static void processLoginData(Net::MessageIn &msg);
-
- static void processLoginError(Net::MessageIn &msg);
-
virtual void sendLoginRegister(const std::string &username,
const std::string &password,
const std::string &email) const = 0;
-
- static std::string mUpdateHost;
- static Worlds mWorlds;
- static Token mToken;
- static bool mVersionResponse;
- static bool mRegistrationEnabled;
};
} // namespace Ea