mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(ui): implement Script_RealmListUpdateRate (#110)
Co-authored-by: fallenoak <git@fallenoak.me>
This commit is contained in:
parent
26f2255f53
commit
0c2db0a97d
@ -15,7 +15,13 @@ int32_t Script_RequestRealmList(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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user