mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-16 04:32:29 +00:00
feat(map): add CMap static members
This commit is contained in:
parent
c4e56fd99d
commit
1326c896df
9 changed files with 139 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue