- Implement QueryCallback_2 template for ACE_Future callbacks using 2 parameters for the callback function
- Make MSG_LIST_STABLED_PETS´s handler use async query instead of blocking query

--HG--
branch : trunk
This commit is contained in:
Machiavelli committed 2010-08-24 19:04:25 +02:00
1 parent e5337169c8
commit 4185bb3181
3 files changed
+69

No files matched your search

+10
View File
@@ -1015,4 +1015,14 @@ void WorldSession::ProcessQueryCallbacks()
HandleAddIgnoreOpcodeCallBack(result);
m_addIgnoreCallback.cancel();
}
//- SendStabledPet
if (m_sendStabledPetCallback.IsReady())
{
WorldPacket* param1 = m_sendStabledPetCallback.GetFirstParam();
uint8 param2 = m_sendStabledPetCallback.GetSecondParam();
m_sendStabledPetCallback.GetResult(result);
SendStablePetCallback(result, param1, param2);
m_sendStabledPetCallback.FreeResult();
}
}