mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-07 07:09:53 +03:00
feat(glue): implement update realm list
This commit is contained in:
1 parent
780de91468
commit
41554f32b4
4 files changed
+88
-1
No files matched your search
@@ -58,6 +58,14 @@ ClientServices* ClientServices::GetInstance() {
|
||||
return ClientServices::s_instance;
|
||||
}
|
||||
|
||||
REALM_INFO* ClientServices::GetRealmInfoByIndex(int32_t index) {
|
||||
if (index >= ClientServices::GetInstance()->m_realmList.Count()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
return &ClientServices::GetInstance()->m_realmList[index];
|
||||
}
|
||||
|
||||
const char* ClientServices::GetSelectedRealmName() {
|
||||
if (!ClientServices::s_realmNameVar) {
|
||||
ClientServices::s_realmNameVar = CVar::Register(
|
||||
|
||||
Reference in new issue
Block a user