feat(map): add CMap static members

This commit is contained in:
VDm 2025-07-31 01:03:23 +04:00
parent c4e56fd99d
commit 1326c896df
9 changed files with 139 additions and 8 deletions

View file

@ -554,6 +554,11 @@ void NetClient::SetMessageHandler(NETMESSAGE msgId, MESSAGE_HANDLER handler, voi
this->m_handlerParams[msgId] = param;
}
void NetClient::ClearMessageHandler(NETMESSAGE msgId) {
this->m_handlers[msgId] = nullptr;
this->m_handlerParams[msgId] = nullptr;
}
void NetClient::WCCantConnect(WowConnection* conn, uint32_t timeStamp, NETCONNADDR* addr) {
if (conn == this->m_redirectConnection) {
// TODO

View file

@ -85,6 +85,7 @@ class NetClient : public WowConnectionResponse {
void SetDelete();
void SetLoginData(LoginData* loginData);
void SetMessageHandler(NETMESSAGE msgId, MESSAGE_HANDLER handler, void* param);
void ClearMessageHandler(NETMESSAGE msgId);
void DisplayNetworkStats();
void GetNetStats(float& bandwidthIn, float& bandwidthOut, uint32_t& latency);
void PushObjMgr();