feat(glue): add more names to GLUE_IDLE_STATE

This commit is contained in:
fallenoak 2025-10-03 23:07:48 -05:00
parent 7a22ffb998
commit f6a1bb7286
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
2 changed files with 15 additions and 15 deletions

View File

@ -682,7 +682,7 @@ void CGlueMgr::StatusDialogClick() {
} }
case IDLE_ACCOUNT_LOGIN: case IDLE_ACCOUNT_LOGIN:
case IDLE_3: { case IDLE_CHARACTER_LIST: {
ClientServices::Connection()->Cancel(2); ClientServices::Connection()->Cancel(2);
break; break;
@ -709,7 +709,7 @@ void CGlueMgr::StatusDialogClick() {
break; break;
} }
case IDLE_11: { case IDLE_WORLD_LOGIN: {
CGlueMgr::m_showedDisconnect = 0; CGlueMgr::m_showedDisconnect = 0;
CGlueMgr::m_idleState = IDLE_NONE; CGlueMgr::m_idleState = IDLE_NONE;

View File

@ -12,20 +12,20 @@ class CGlueMgr {
public: public:
// Types // Types
enum GLUE_IDLE_STATE { enum GLUE_IDLE_STATE {
IDLE_NONE = 0, IDLE_NONE = 0,
IDLE_LOGIN_SERVER_LOGIN = 1, IDLE_LOGIN_SERVER_LOGIN = 1,
IDLE_ACCOUNT_LOGIN = 2, IDLE_ACCOUNT_LOGIN = 2,
IDLE_3 = 3, IDLE_CHARACTER_LIST = 3,
IDLE_4 = 4, IDLE_4 = 4,
IDLE_5 = 5, IDLE_5 = 5,
IDLE_6 = 6, IDLE_6 = 6,
IDLE_7 = 7, IDLE_7 = 7,
IDLE_8 = 8, IDLE_8 = 8,
IDLE_9 = 9, IDLE_9 = 9,
IDLE_ENTER_WORLD = 10, IDLE_ENTER_WORLD = 10,
IDLE_11 = 11, IDLE_WORLD_LOGIN = 11,
IDLE_12 = 12, IDLE_12 = 12,
IDLE_13 = 13 IDLE_13 = 13
}; };
// Static variables // Static variables