mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(client): use 'realmList' CVar when connecting to realm list server
This commit is contained in:
parent
9096894a21
commit
d60b85f85c
6 changed files with 148 additions and 5 deletions
|
|
@ -17,10 +17,18 @@ class ClientServices : public LoginResponse {
|
|||
static ClientServices* s_instance;
|
||||
static Login* s_loginObj;
|
||||
static bool s_newLogin;
|
||||
static CVar* s_realmNameVar;
|
||||
static REALM_INFO s_selectRealmInfo;
|
||||
static bool s_selectRealmInfoValid;
|
||||
|
||||
// Static console variables
|
||||
static CVar* s_realmNameVar;
|
||||
static CVar* s_decorateAccountName;
|
||||
static CVar* s_realmListBNVar;
|
||||
static CVar* s_darkPortalVar;
|
||||
static CVar* s_ServerAlertVar;
|
||||
static CVar* s_realmListVar;
|
||||
static CVar* s_patchListVar;
|
||||
|
||||
// Static functions
|
||||
static void ConnectToSelectedServer();
|
||||
static ClientConnection* Connection();
|
||||
|
|
@ -34,6 +42,9 @@ class ClientServices : public LoginResponse {
|
|||
static void SelectRealm(const char* realmName);
|
||||
static void SetAccountName(const char* accountName);
|
||||
static int32_t SetSelectedRealmInfo(int32_t a1);
|
||||
static void InitLoginServerCVars(int32_t overwrite, const char* locale)
|
||||
const char* GetDefaultRealmlistString();
|
||||
const char* GetDefaultPatchListString();
|
||||
|
||||
// Virtual member functions
|
||||
virtual int32_t GetLoginServerType();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue