mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Core/Scripts: implement a PlayerScript hook called when a quest's objective receives progress (#23286)
This commit is contained in:
@@ -1961,6 +1961,11 @@ void ScriptMgr::OnPlayerRepop(Player* player)
|
||||
FOREACH_SCRIPT(PlayerScript)->OnPlayerRepop(player);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnQuestObjectiveProgress(Player* player, Quest const* quest, uint32 objectiveIndex, uint16 progress)
|
||||
{
|
||||
FOREACH_SCRIPT(PlayerScript)->OnQuestObjectiveProgress(player, quest, objectiveIndex, progress);
|
||||
}
|
||||
|
||||
// Account
|
||||
void ScriptMgr::OnAccountLogin(uint32 accountId)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user