diff options
author | ShinDarth <borzifrancesco@gmail.com> | 2015-10-10 13:22:55 +0200 |
---|---|---|
committer | ShinDarth <borzifrancesco@gmail.com> | 2015-10-10 14:34:23 +0200 |
commit | 1ffec02d760fe88deb4ccce0d13bce344a20bd15 (patch) | |
tree | f4893814f9b9476a79f04d6b3df5f28baa1ceb2b /src/server/game/Instances/InstanceScript.h | |
parent | 50cf74f0dbe1f2d9580ec3a7673f2c99963d17f7 (diff) |
Scripts/Commands: enhanced .instance get/setbossstate commands
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 e832d7cdffe..93dafea0413 100644 --- a/src/server/game/Instances/InstanceScript.h +++ b/src/server/game/Instances/InstanceScript.h @@ -220,6 +220,7 @@ class InstanceScript : public ZoneScript virtual bool SetBossState(uint32 id, EncounterState state); EncounterState GetBossState(uint32 id) const { return id < bosses.size() ? bosses[id].state : TO_BE_DECIDED; } + static std::string GetBossStateName(uint8 state); BossBoundaryMap const* GetBossBoundary(uint32 id) const { return id < bosses.size() ? &bosses[id].boundary : NULL; } // Achievement criteria additional requirements check |