mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(client): handle successful authentication in ClientServices
This commit is contained in:
parent
9fe2e2e8ff
commit
5355b75768
10 changed files with 60 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ class RealmResponse;
|
|||
class ClientServices : public LoginResponse {
|
||||
public:
|
||||
// Static variables
|
||||
static char s_accountName[1280];
|
||||
static RealmResponse* s_clientRealmResponse;
|
||||
static ClientConnection* s_currentConnection;
|
||||
static ClientServices* s_instance;
|
||||
|
|
@ -22,6 +23,7 @@ class ClientServices : public LoginResponse {
|
|||
static void Initialize();
|
||||
static Login* LoginConnection();
|
||||
static void Logon(const char* accountName, const char* password);
|
||||
static void SetAccountName(const char* accountName);
|
||||
|
||||
// Virtual member functions
|
||||
virtual void LoginServerStatus(LOGIN_STATE state, LOGIN_RESULT result, const char* addrStr, const char* stateStr, const char* resultStr, uint8_t flags);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue