*Implement some new functions by WarHead (not really sure if they're needed, could probably be done another way)
--HG-- branch : trunk
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user