feat(net): partially implement NetClient::WCCantConnect

This commit is contained in:
fallenoak 2025-11-04 22:56:15 -06:00
parent 50d48f680a
commit ecbe272039
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -382,7 +382,15 @@ void NetClient::SetMessageHandler(NETMESSAGE msgId, MESSAGE_HANDLER handler, voi
}
void NetClient::WCCantConnect(WowConnection* conn, uint32_t timeStamp, NETCONNADDR* addr) {
// TODO
if (conn == this->m_redirectConnection) {
// TODO
return;
}
if (conn == this->m_serverConnection) {
this->m_netEventQueue->AddEvent(EVENT_ID_NET_CANTCONNECT, conn, this, nullptr, 0);
}
}
void NetClient::WCConnected(WowConnection* conn, WowConnection* inbound, uint32_t timeStamp, const NETCONNADDR* addr) {