feat(map): add CMap static members

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

No files matched your search

+5
View File
@@ -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);
+1
View File
@@ -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);