mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(glue): handle successful authentication in CGlueMgr::PollLoginServerLogin
This commit is contained in:
parent
531425d566
commit
b53f596b82
2 changed files with 13 additions and 1 deletions
|
|
@ -313,8 +313,9 @@ void CGlueMgr::PollLoginServerLogin() {
|
|||
if (CGlueMgr::m_authenticated) {
|
||||
CGlueMgr::m_idleState = IDLE_NONE;
|
||||
CGlueMgr::m_showedDisconnect = 0;
|
||||
// Sub4D8BA0();
|
||||
CGlueMgr::Sub4D8BA0();
|
||||
CGlueMgr::m_authenticated = false;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -591,6 +592,16 @@ void CGlueMgr::StatusDialogClick() {
|
|||
}
|
||||
}
|
||||
|
||||
void CGlueMgr::Sub4D8BA0() {
|
||||
if (CGlueMgr::m_idleState != IDLE_NONE) {
|
||||
return;
|
||||
}
|
||||
|
||||
CGlueMgr::m_idleState = IDLE_ACCOUNT_LOGIN;
|
||||
CGlueMgr::m_showedDisconnect = 0;
|
||||
ClientServices::Connection()->Connect();
|
||||
}
|
||||
|
||||
void CGlueMgr::Suspend() {
|
||||
// TODO
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue