diff options
author | maximius <none@none> | 2009-10-16 16:45:01 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-16 16:45:01 -0700 |
commit | 3552bba00c5849bb55abba9380e98c68e4806685 (patch) | |
tree | 2b05d8f4003bf773c9c2d4a00f613b01ee6a369e /src/game/InstanceData.h | |
parent | 8f112506f6467246a3e1cbb4f1d2163c38c067fc (diff) |
*Implement some new functions by WarHead (not really sure if they're needed, could probably be done another way)
--HG--
branch : trunk
Diffstat (limited to 'src/game/InstanceData.h')
-rw-r--r-- | src/game/InstanceData.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/game/InstanceData.h b/src/game/InstanceData.h index 90be75fa5da..010a3d44d42 100644 --- a/src/game/InstanceData.h +++ b/src/game/InstanceData.h @@ -152,6 +152,17 @@ class TRINITY_DLL_SPEC InstanceData : public ZoneScript //sends world state update to all players in instance void DoUpdateWorldState(uint32 uiStateId, uint32 uiStateData); + /* Not used anywhere yet, not sure if they're needed: + // Send Notify to all players in instance + void DoSendNotifyToInstance(const char *format,...); + + // Complete Achievement for all players in instance + void DoCompleteAchievement(uint32 achievement); + */ + + // Remove Auras due to Spell on all players in instance + void DoRemoveAurasDueToSpellOnPlayers(uint32 spell); + virtual bool SetBossState(uint32 id, EncounterState state); EncounterState GetBossState(uint32 id) const { return id < bosses.size() ? bosses[id].state : TO_BE_DECIDED; } const BossBoundaryMap * GetBossBoundary(uint32 id) const { return id < bosses.size() ? &bosses[id].boundary : NULL; } |