feat(Core: new hook OnPlayerQueueRandomDungeon() and revert (now unnecessary) PR (#8196)
This commit is contained in:
parent
ca47fc96f2
commit
775c6744d2
6 changed files with 11 additions and 13 deletions
|
|
@ -1629,6 +1629,11 @@ void ScriptMgr::OnPlayerAddToBattleground(Player* player, Battleground* bg)
|
|||
FOREACH_SCRIPT(PlayerScript)->OnAddToBattleground(player, bg);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnPlayerQueueRandomDungeon(Player* player, uint32 & rDungeonId)
|
||||
{
|
||||
FOREACH_SCRIPT(PlayerScript)->OnQueueRandomDungeon(player, rDungeonId);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnPlayerRemoveFromBattleground(Player* player, Battleground* bg)
|
||||
{
|
||||
FOREACH_SCRIPT(PlayerScript)->OnRemoveFromBattleground(player, bg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue