feat(Core/Hooks): OnBattlegroundDesertion (#4619)

This commit is contained in:
Francesco Borzì 2021-02-21 22:12:25 +01:00 committed by GitHub
parent 8dbdffab92
commit a4115862de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 48 additions and 23 deletions

View file

@ -1339,6 +1339,11 @@ void ScriptMgr::OnPlayerCompleteQuest(Player* player, Quest const* quest)
FOREACH_SCRIPT(PlayerScript)->OnPlayerCompleteQuest(player, quest);
}
void ScriptMgr::OnBattlegroundDesertion(Player* player, BattlegroundDesertionType const desertionType)
{
FOREACH_SCRIPT(PlayerScript)->OnBattlegroundDesertion(player, desertionType);
}
void ScriptMgr::OnPlayerReleasedGhost(Player* player)
{
FOREACH_SCRIPT(PlayerScript)->OnPlayerReleasedGhost(player);