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:
@@ -841,6 +841,9 @@ public:
|
||||
// Called when a player is added to battleground
|
||||
virtual void OnAddToBattleground(Player* /*player*/, Battleground* /*bg*/) { }
|
||||
|
||||
// Called when a player queues a Random Dungeon using the RDF (Random Dungeon Finder)
|
||||
virtual void OnQueueRandomDungeon(Player* /*player*/, uint32 & /*rDungeonId*/) { }
|
||||
|
||||
// Called when a player is removed from battleground
|
||||
virtual void OnRemoveFromBattleground(Player* /*player*/, Battleground* /*bg*/) { }
|
||||
|
||||
@@ -1646,6 +1649,7 @@ public: /* PlayerScript */
|
||||
bool OnBeforePlayerTeleport(Player* player, uint32 mapid, float x, float y, float z, float orientation, uint32 options, Unit* target);
|
||||
void OnPlayerUpdateFaction(Player* player);
|
||||
void OnPlayerAddToBattleground(Player* player, Battleground* bg);
|
||||
void OnPlayerQueueRandomDungeon(Player* player, uint32 & rDungeonId);
|
||||
void OnPlayerRemoveFromBattleground(Player* player, Battleground* bg);
|
||||
void OnAchievementComplete(Player* player, AchievementEntry const* achievement);
|
||||
bool OnBeforeAchievementComplete(Player* player, AchievementEntry const* achievement);
|
||||
|
||||
Reference in New Issue
Block a user