mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-17 11:32:51 +03:00
feat(ui): implement Script_RealmListDialogCancelled
This commit is contained in:
1 parent
30699a72cf
commit
e3785010c4
3 files changed
+10
-1
No files matched your search
@@ -773,6 +773,12 @@ void CGlueMgr::QuitGame() {
|
||||
ClientPostClose(0);
|
||||
}
|
||||
|
||||
void CGlueMgr::RealmListDialogCancelled() {
|
||||
if (!SStrCmpI(CGlueMgr::m_currentScreen, "login")) {
|
||||
ClientServices::LoginConnection()->Logoff();
|
||||
}
|
||||
}
|
||||
|
||||
void CGlueMgr::Resume() {
|
||||
// TODO
|
||||
// CGlueMgr::m_disconnectPending = 0;
|
||||
|
||||
@@ -76,6 +76,7 @@ class CGlueMgr {
|
||||
static void PollLoginServerLogin();
|
||||
static void PollRealmList(const char* msg, int32_t complete, int32_t result, WOWCS_OPS op);
|
||||
static void QuitGame();
|
||||
static void RealmListDialogCancelled();
|
||||
static void Resume();
|
||||
static void SetCurrentAccount(const char* accountName);
|
||||
static void SetIdleState(GLUE_IDLE_STATE state);
|
||||
|
||||
Reference in new issue
Block a user