mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(client): add ClientHandlers for SMSG_NEW_WORLD and SMSG_LOGIN_VERIFY_WORLD
This commit is contained in:
parent
140bcde493
commit
88e21b4a22
5 changed files with 86 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#include "async/AsyncFile.hpp"
|
||||
#include "client/ClientServices.hpp"
|
||||
#include "client/CmdLine.hpp"
|
||||
#include "client/ClientHandlers.hpp"
|
||||
#include "console/CVar.hpp"
|
||||
#include "console/Client.hpp"
|
||||
#include "console/Device.hpp"
|
||||
|
|
@ -667,5 +668,9 @@ void WowClientInit() {
|
|||
void ClientInitializeGame(int32_t continentID, const C3Vector& position) {
|
||||
// TODO
|
||||
CGGameUI::InitializeGame();
|
||||
|
||||
ClientServices::SetMessageHandler(SMSG_NEW_WORLD, &NewWorldHandler, nullptr);
|
||||
ClientServices::SetMessageHandler(SMSG_LOGIN_VERIFY_WORLD, &LoginVerifyWorldHandler, nullptr);
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue