feat(ui): implement Script_RealmListUpdateRate (#110)

Co-authored-by: fallenoak <git@fallenoak.me>
This commit is contained in:
Tristan 'Natrist' Cormier 2025-10-08 22:44:40 -04:00 committed by GitHub
parent 26f2255f53
commit 0c2db0a97d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,13 @@ int32_t Script_RequestRealmList(lua_State* L) {
} }
int32_t Script_RealmListUpdateRate(lua_State* L) { int32_t Script_RealmListUpdateRate(lua_State* L) {
WHOA_UNIMPLEMENTED(0); if (ClientServices::LoginConnection() && ClientServices::LoginConnection()->GetLoginServerType() == 1) {
lua_pushnumber(L, 4.0);
} else {
lua_pushnumber(L, 5.0);
}
return 1;
} }
int32_t Script_CancelRealmListQuery(lua_State* L) { int32_t Script_CancelRealmListQuery(lua_State* L) {