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

Public Member Functions

 at_icc_shutdown_traps ()
 
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_icc_shutdown_traps::at_icc_shutdown_traps ( )
inline
2119 : AreaTriggerScript("at_icc_shutdown_traps") { }
AreaTriggerScript(const char *name)
Definition: ScriptMgr.cpp:1598

Member Function Documentation

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

Reimplemented from AreaTriggerScript.

2122  {
2123  if (InstanceScript* instance = player->GetInstanceScript())
2124  instance->SetData(DATA_UPPERSPIRE_TELE_ACT, DONE);
2125 
2126  return true;
2127  }
Definition: inflate.h:49
Definition: icecrown_citadel.h:118
Definition: InstanceScript.h:141

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