summaryrefslogtreecommitdiff
path: root/src/net/ea/loginhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-17 22:43:13 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-17 22:43:13 +0300
commit73271c8b5e39d01c34064db8a4529e31d36cf0aa (patch)
tree62889d7fb733f0494317365d7846776b7371fcf7 /src/net/ea/loginhandler.h
parent9a40e1202946e3384500da28668a52d28ad377f4 (diff)
downloadplus-73271c8b5e39d01c34064db8a4529e31d36cf0aa.tar.gz
plus-73271c8b5e39d01c34064db8a4529e31d36cf0aa.tar.bz2
plus-73271c8b5e39d01c34064db8a4529e31d36cf0aa.tar.xz
plus-73271c8b5e39d01c34064db8a4529e31d36cf0aa.zip
Add static in loginhandler.
Diffstat (limited to 'src/net/ea/loginhandler.h')
-rw-r--r--src/net/ea/loginhandler.h22
1 files changed, 9 insertions, 13 deletions
diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h
index 6040e72fd..845e11f50 100644
--- a/src/net/ea/loginhandler.h
+++ b/src/net/ea/loginhandler.h
@@ -87,17 +87,13 @@ class LoginHandler notfinal : public Net::LoginHandler
const std::string &password)
const override final;
- virtual void procecessCharPasswordResponse(Net::MessageIn &msg) const;
+ static void processCharPasswordResponse(Net::MessageIn &msg);
- virtual void processUpdateHost(Net::MessageIn &msg);
+ static void processUpdateHost(Net::MessageIn &msg);
- virtual void processUpdateHost2(Net::MessageIn &msg) const = 0;
+ static void processLoginData(Net::MessageIn &msg);
- virtual void processLoginData(Net::MessageIn &msg);
-
- virtual void processLoginError(Net::MessageIn &msg) const;
-
- virtual void processServerVersion(Net::MessageIn &msg) = 0;
+ static void processLoginError(Net::MessageIn &msg);
void loginOrRegister(LoginData *const data) const override final;
@@ -108,11 +104,11 @@ class LoginHandler notfinal : public Net::LoginHandler
const std::string &password,
const std::string &email) const = 0;
- bool mVersionResponse;
- bool mRegistrationEnabled;
- std::string mUpdateHost;
- Worlds mWorlds;
- Token mToken;
+ static std::string mUpdateHost;
+ static Worlds mWorlds;
+ static Token mToken;
+ static bool mVersionResponse;
+ static bool mRegistrationEnabled;
};
} // namespace Ea