mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-26 15:53:52 +03:00
feat(glue): implement character login in CGlueMgr::PollEnterWorld
This commit is contained in:
5 files changed
+32
-4
No files matched your search
@@ -617,16 +617,21 @@ void CGlueMgr::PollEnterWorld() {
|
||||
CGlueMgr::m_showedDisconnect = 0;
|
||||
|
||||
// TODO SI Logic
|
||||
// TODO ClientConnection::CharacterLogin()
|
||||
|
||||
// TODO TLS shenanigans with guid
|
||||
ClientServices::Connection()->CharacterLogin(CGlueMgr::m_characterInfo->info.guid, 0);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO Get map ID and position from character info
|
||||
uint32_t mapId = 0;
|
||||
C3Vector position = { 0.0f, 0.0f, 0.0f };
|
||||
uint32_t mapId = CGlueMgr::m_characterInfo->info.mapID;
|
||||
C3Vector position = CGlueMgr::m_characterInfo->info.position;
|
||||
|
||||
// TODO TLS shenanigans with guid
|
||||
// TODO first login logic (play intro M2?)
|
||||
|
||||
CGlueMgr::Suspend();
|
||||
|
||||
ClientInitializeGame(mapId, position);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user