diff options
author | Shauren <shauren.trinity@gmail.com> | 2021-01-24 21:40:02 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-10-04 00:19:38 +0200 |
commit | 5a516fb6549e460e68b45005a17ec1b6217fefa5 (patch) | |
tree | ba79668b9b4716eedb7627bb86e7d48642e3a567 /src/server/game/Instances/InstanceScript.h | |
parent | 46e0056196dd6e56077aeeb67d41ec520046a79e (diff) |
Core/Loot: Send DungeonEncounter id in SMSG_ITEM_PUSH_RESULT
Diffstat (limited to 'src/server/game/Instances/InstanceScript.h')
-rw-r--r-- | src/server/game/Instances/InstanceScript.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h index 43cb58622fc..b7a2e2fc15e 100644 --- a/src/server/game/Instances/InstanceScript.h +++ b/src/server/game/Instances/InstanceScript.h @@ -267,6 +267,7 @@ class TC_GAME_API InstanceScript : public ZoneScript EncounterState GetBossState(uint32 id) const { return id < bosses.size() ? bosses[id].state : TO_BE_DECIDED; } static char const* GetBossStateName(uint8 state); CreatureBoundary const* GetBossBoundary(uint32 id) const { return id < bosses.size() ? &bosses[id].boundary : nullptr; } + DungeonEncounterEntry const* GetBossDungeonEncounter(uint32 id) const; // Achievement criteria additional requirements check // NOTE: not use this if same can be checked existed requirement types from AchievementCriteriaRequirementType |