feat(Core/Hooks): OnBattlegroundDesertion (#4619)
This commit is contained in:
parent
8dbdffab92
commit
a4115862de
6 changed files with 48 additions and 23 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue