aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Instances/InstanceScript.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Instances/InstanceScript.h')
-rw-r--r--src/server/game/Instances/InstanceScript.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h
index 414f53b04d9..d62233768a8 100644
--- a/src/server/game/Instances/InstanceScript.h
+++ b/src/server/game/Instances/InstanceScript.h
@@ -50,7 +50,6 @@ struct InstanceSpawnGroupInfo;
enum class CriteriaType : uint8;
enum class CriteriaStartEvent : uint8;
enum Difficulty : uint8;
-enum EncounterCreditType : uint8;
enum EncounterFrameType
{
@@ -284,10 +283,6 @@ class TC_GAME_API InstanceScript : public ZoneScript
// Checks boss requirements (one boss required to kill other)
virtual bool CheckRequiredBosses(uint32 /*bossId*/, Player const* /*player*/ = nullptr) const { return true; }
- // Checks encounter state at kill/spellcast
- void UpdateEncounterStateForKilledCreature(uint32 creatureId, Unit* source);
- void UpdateEncounterStateForSpellCast(uint32 spellId, Unit* source);
-
bool IsEncounterCompleted(uint32 dungeonEncounterId) const;
bool IsEncounterCompletedInMaskByBossId(uint32 completedEncountersMask, uint32 bossId) const;
@@ -365,7 +360,7 @@ class TC_GAME_API InstanceScript : public ZoneScript
private:
static void LoadObjectData(ObjectData const* creatureData, ObjectInfoMap& objectInfo);
void LoadDungeonEncounterData(uint32 bossId, std::array<uint32, MAX_DUNGEON_ENCOUNTERS_PER_BOSS> const& dungeonEncounterIds);
- void UpdateEncounterState(EncounterCreditType type, uint32 creditEntry, Unit* source);
+ void UpdateLfgEncounterState(BossInfo const* bossInfo);
std::string headers;
std::vector<BossInfo> bosses;