mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
feat(Core: new hook OnPlayerQueueRandomDungeon() and revert (now unnecessary) PR (#8196)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user