mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-04 22:07:01 +03:00
feat(glue): implement CGlueMgr::EnterWorld
This commit is contained in:
8 files changed
+121
-1
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user