TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
at_hor_shadow_throne Class Reference

Public Member Functions

 at_hor_shadow_throne ()
 
bool OnTrigger (Player *player, AreaTriggerEntry const *, bool) override
 
- Public Member Functions inherited from ScriptObject
const std::string & GetName () const
 

Additional Inherited Members

- Protected Member Functions inherited from AreaTriggerScript
 AreaTriggerScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name)
 
virtual ~ScriptObject ()
 

Constructor & Destructor Documentation

at_hor_shadow_throne::at_hor_shadow_throne ( )
inline
2085 : AreaTriggerScript("at_hor_shadow_throne") { }
AreaTriggerScript(const char *name)
Definition: ScriptMgr.cpp:1598

Member Function Documentation

bool at_hor_shadow_throne::OnTrigger ( Player player,
AreaTriggerEntry const ,
bool   
)
inlineoverridevirtual

Reimplemented from AreaTriggerScript.

2088  {
2089  if (player->IsGameMaster())
2090  return true;
2091 
2092  InstanceScript* _instance = player->GetInstanceScript();
2093 
2096 
2097  return true;
2098  }
Definition: InstanceScript.h:59
Definition: InstanceScript.h:58
virtual bool SetBossState(uint32 id, EncounterState state)
Definition: InstanceScript.cpp:273
Definition: InstanceScript.h:141
Definition: halls_of_reflection.h:36
EncounterState GetBossState(uint32 id) const
Definition: InstanceScript.h:227

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: