feat(net): add initial handling for SMSG_AUTH_CHALLENGE

This commit is contained in:
fallenoak 2023-02-25 13:40:32 -06:00
parent 50a597a341
commit 066e650958
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
3 changed files with 27 additions and 2 deletions

View file

@ -14,6 +14,12 @@ class WowConnection;
typedef int32_t (*MESSAGE_HANDLER)(void* param, NETMESSAGE msgId, uint32_t time, CDataStore* msg);
struct AuthenticationChallenge {
uint32_t uint0;
uint32_t uint4;
uint64_t uint8;
};
class NETEVENTQUEUENODE : public TSLinkedNode<NETEVENTQUEUENODE> {
public:
};
@ -45,6 +51,7 @@ class NetClient : public WowConnectionResponse {
void* m_handlerParams[NUM_MSG_TYPES];
NETEVENTQUEUE* m_netEventQueue = nullptr;
WowConnection* m_serverConnection = nullptr;
WowConnection* m_redirectConnection = nullptr;
uint32_t m_pingSent = 0;
uint32_t m_pingSequence = 0;
uint32_t m_latency[16];