mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-05 14:19:53 +03:00
feat(client): register handlers in ClientInitializeGame
This commit is contained in:
1 parent
667e50bd67
commit
ea7fda972e
7 files changed
+94
-7
No files matched your search
@@ -154,6 +154,13 @@ void ClientServices::SetAccountName(const char* accountName) {
|
||||
SStrCopy(ClientServices::s_accountName, accountName, sizeof(ClientServices::s_accountName));
|
||||
}
|
||||
|
||||
void ClientServices::SetMessageHandler(NETMESSAGE msgId, MESSAGE_HANDLER handler, void* param) {
|
||||
STORM_ASSERT(handler);
|
||||
STORM_ASSERT(ClientServices::s_currentConnection);
|
||||
|
||||
ClientServices::s_currentConnection->SetMessageHandler(msgId, handler, param);
|
||||
}
|
||||
|
||||
int32_t ClientServices::SetSelectedRealmInfo(int32_t a1) {
|
||||
auto instance = ClientServices::GetInstance();
|
||||
|
||||
|
||||
Reference in new issue
Block a user