feat(client): handle successful authentication in ClientServices

This commit is contained in:
fallenoak 2023-02-07 12:57:25 -06:00
parent 9fe2e2e8ff
commit 5355b75768
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
10 changed files with 60 additions and 0 deletions

View file

@ -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);