mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(glue): poll login state in glue manager loop
This commit is contained in:
parent
19a7e1997b
commit
d689281b6f
2 changed files with 83 additions and 5 deletions
|
|
@ -12,8 +12,8 @@ class CGlueMgr {
|
|||
// Types
|
||||
enum GLUE_IDLE_STATE {
|
||||
IDLE_NONE = 0,
|
||||
IDLE_ACCOUNT_LOGIN = 1,
|
||||
IDLE_2 = 2,
|
||||
IDLE_LOGIN_SERVER_LOGIN = 1,
|
||||
IDLE_ACCOUNT_LOGIN = 2,
|
||||
IDLE_3 = 3,
|
||||
IDLE_4 = 4,
|
||||
IDLE_5 = 5,
|
||||
|
|
@ -58,6 +58,7 @@ class CGlueMgr {
|
|||
static void Initialize();
|
||||
static void LoginServerLogin(const char* accountName, const char* password);
|
||||
static void QuitGame();
|
||||
static void PollLoginServerLogin();
|
||||
static void Resume();
|
||||
static void SetLoginStateAndResult(LOGIN_STATE state, LOGIN_RESULT result, char const* addrStr, char const* stateStr, char const* resultStr, uint8_t flags);
|
||||
static void SetScreen(const char* screen);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue