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

@ -36,6 +36,7 @@ class NetClient : public WowConnectionResponse {
static int32_t s_clientCount;
// Member variables
LoginData m_loginData;
NETSTATE m_netState = NS_UNINITIALIZED;
MESSAGE_HANDLER m_handlers[NUM_MSG_TYPES];
void* m_handlerParams[NUM_MSG_TYPES];
@ -50,6 +51,7 @@ class NetClient : public WowConnectionResponse {
// Member functions
int32_t Initialize();
void SetLoginData(LoginData* loginData);
void SetMessageHandler(NETMESSAGE msgId, MESSAGE_HANDLER handler, void* param);
};