mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-14 10:11:22 +03:00
feat(client): add ClientServices::IsConnected
This commit is contained in:
1 parent
03d772518b
commit
9e4cdf4204
4 files changed
+9
-4
No files matched your search
@@ -335,6 +335,10 @@ void ClientServices::InitLoginServerCVars(int32_t force, const char* locale) {
|
||||
}
|
||||
}
|
||||
|
||||
int32_t ClientServices::IsConnected() {
|
||||
return ClientServices::Connection()->IsConnected();
|
||||
}
|
||||
|
||||
Login* ClientServices::LoginConnection() {
|
||||
return ClientServices::s_loginObj;
|
||||
}
|
||||
|
||||
@@ -41,6 +41,7 @@ class ClientServices : public LoginResponse {
|
||||
static const REALM_INFO* GetSelectedRealm();
|
||||
static void Initialize();
|
||||
static void InitLoginServerCVars(int32_t force, const char* locale);
|
||||
static int32_t IsConnected();
|
||||
static Login* LoginConnection();
|
||||
static void Logon(const char* accountName, const char* password);
|
||||
static void SelectRealm(const char* realmName);
|
||||
|
||||
Reference in new issue
Block a user