mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-11 17:03:15 +03:00
feat(glue): handle GetServerName script function
This commit is contained in:
4 files changed
+55
-1
No files matched your search
@@ -84,6 +84,10 @@ const char* ClientServices::GetSelectedRealmName() {
|
||||
return ClientServices::s_realmNameVar->GetString();
|
||||
}
|
||||
|
||||
const REALM_INFO* ClientServices::GetSelectedRealm() {
|
||||
return &ClientServices::s_selectRealmInfo;
|
||||
}
|
||||
|
||||
void ClientServices::Initialize() {
|
||||
if (!g_clientConnection) {
|
||||
auto adapterMem = SMemAlloc(sizeof(ClientRealmResponseAdapter), __FILE__, __LINE__, 0x0);
|
||||
|
||||
@@ -27,6 +27,7 @@ class ClientServices : public LoginResponse {
|
||||
static ClientServices* GetInstance();
|
||||
static REALM_INFO* GetRealmInfoByIndex(int32_t index);
|
||||
static const char* GetSelectedRealmName();
|
||||
static const REALM_INFO* GetSelectedRealm();
|
||||
static void Initialize();
|
||||
static Login* LoginConnection();
|
||||
static void Logon(const char* accountName, const char* password);
|
||||
|
||||
Reference in new issue
Block a user