Core/DBLayer: Add nicer api for SQLQueryHolders
This commit is contained in:
1 parent
040140b4ea
commit
6d4b396f7b
8 files changed
+52
-17
No files matched your search
@@ -797,7 +797,10 @@ void WorldSession::HandleContinuePlayerLogin()
|
||||
|
||||
SendPacket(WorldPackets::Auth::ResumeComms(CONNECTION_TYPE_INSTANCE).Write());
|
||||
|
||||
_charLoginCallback = CharacterDatabase.DelayQueryHolder(holder);
|
||||
AddQueryHolderCallback(CharacterDatabase.DelayQueryHolder(holder)).AfterComplete([this](SQLQueryHolderBase* holder)
|
||||
{
|
||||
HandlePlayerLogin(static_cast<LoginQueryHolder*>(holder));
|
||||
});
|
||||
}
|
||||
|
||||
void WorldSession::AbortLogin(WorldPackets::Character::LoginFailureReason reason)
|
||||
|
||||
Reference in new issue
Block a user