aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Instances/InstanceScript.h
diff options
context:
space:
mode:
authorShinDarth <borzifrancesco@gmail.com>2015-10-10 13:22:55 +0200
committerMitchesD <majklprofik@seznam.cz>2015-11-06 11:56:13 +0100
commit040b098aef5625645dc37d0f112cd24eb715fa43 (patch)
tree05b94ab857a23a97fdb1c2356ca825fea31a624f /src/server/game/Instances/InstanceScript.h
parentceed5e2d35606509ee0a855ad01ec4690ded6220 (diff)
Scripts/Commands: enhanced .instance get/setbossstate commands
(cherry picked from commit 1ffec02d760fe88deb4ccce0d13bce344a20bd15) # Conflicts: # src/server/game/Instances/InstanceScript.cpp # src/server/scripts/Commands/cs_instance.cpp
Diffstat (limited to 'src/server/game/Instances/InstanceScript.h')
-rw-r--r--src/server/game/Instances/InstanceScript.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h
index 609c43417d5..d5fa76a1b06 100644
--- a/src/server/game/Instances/InstanceScript.h
+++ b/src/server/game/Instances/InstanceScript.h
@@ -224,6 +224,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