mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 08:42:45 +03:00
feat(glue): implement Script_RealmListUpdateRate
This commit is contained in:
parent
6f07492c7b
commit
60b1c2e8fd
@ -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()->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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user