feat(glue): handle GetServerName script function

This commit is contained in:
fallenoak committed 2023-02-19 14:47:41 -06:00
1 parent 93a0d7ee83
commit 5b9a4d240e
4 files changed
+55 -1

No files matched your search

+4
View File
@@ -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);