feat(glue): implement CGlueMgr::EnterWorld

This commit is contained in:
fallenoak committed 2025-10-06 21:55:47 -05:00
1 parent 119fa8996b
commit 78b5637ff9
8 files changed
+121 -1

No files matched your search

+7
View File
@@ -12,6 +12,7 @@
ClientConnection* g_clientConnection;
char ClientServices::s_accountName[1280];
CHARACTER_INFO ClientServices::s_characterInfo;
RealmResponse* ClientServices::s_clientRealmResponse;
ClientConnection* ClientServices::s_currentConnection;
CVar* ClientServices::s_darkPortalVar;
@@ -266,6 +267,12 @@ void ClientServices::SetAccountName(const char* accountName) {
SStrCopy(ClientServices::s_accountName, accountName, sizeof(ClientServices::s_accountName));
}
void ClientServices::SetCharacterInfo(const CHARACTER_INFO* info) {
STORM_ASSERT(info);
ClientServices::s_characterInfo = *info;
}
void ClientServices::SetMessageHandler(NETMESSAGE msgId, MESSAGE_HANDLER handler, void* param) {
STORM_ASSERT(handler);
STORM_ASSERT(ClientServices::s_currentConnection);