mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-22 05:54:29 +03:00
feat(map): add CMap static members
This commit is contained in:
1 parent
c4e56fd99d
commit
1326c896df
9 files changed
+139
-8
No files matched your search
@@ -189,6 +189,11 @@ void ClientServices::SetMessageHandler(NETMESSAGE msgId, MESSAGE_HANDLER handler
|
||||
s_currentConnection->SetMessageHandler(msgId, handler, param);
|
||||
}
|
||||
|
||||
void ClientServices::ClearMessageHandler(NETMESSAGE msgId) {
|
||||
STORM_ASSERT(ClientServices::s_currentConnection);
|
||||
s_currentConnection->ClearMessageHandler(msgId);
|
||||
}
|
||||
|
||||
void ClientServices::GetRealmList() {
|
||||
STORM_ASSERT(ClientServices::s_currentConnection);
|
||||
ClientServices::s_currentConnection->Initiate(COP_GET_REALMS, 35, nullptr);
|
||||
|
||||
@@ -38,6 +38,7 @@ class ClientServices : public LoginResponse {
|
||||
static ClientConnection* Connection();
|
||||
static ClientServices* GetInstance();
|
||||
static void SetMessageHandler(NETMESSAGE msgId, MESSAGE_HANDLER handler, void* param);
|
||||
static void ClearMessageHandler(NETMESSAGE msgId);
|
||||
static void GetRealmList();
|
||||
static void GetCharacterList();
|
||||
static void EnumerateCharacters(ENUMERATE_CHARACTERS_CALLBACK fcn, void* param);
|
||||
|
||||
Reference in new issue
Block a user