feat(glue): handle GetServerName script function

This commit is contained in:
fallenoak 2023-02-19 14:47:41 -06:00
parent 93a0d7ee83
commit 5b9a4d240e
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
4 changed files with 55 additions and 1 deletions

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);