AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
at_icc_shutdown_traps Class Reference
Inheritance diagram for at_icc_shutdown_traps:
AreaTriggerScript ScriptObject

Public Member Functions

 at_icc_shutdown_traps ()
 
bool OnTrigger (Player *player, AreaTrigger const *) override
 
- Public Member Functions inherited from AreaTriggerScript
bool IsDatabaseBound () const override
 
virtual bool OnTrigger (Player *, AreaTrigger const *)
 
- Public Member Functions inherited from ScriptObject
virtual bool IsDatabaseBound () const
 
virtual bool isAfterLoadScript () const
 
virtual void checkValidity ()
 
const std::string & GetName () const
 
uint16 GetTotalAvailableHooks ()
 

Additional Inherited Members

- Protected Member Functions inherited from AreaTriggerScript
 AreaTriggerScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name, uint16 totalAvailableHooks=0)
 
virtual ~ScriptObject ()=default
 

Detailed Description

Constructor & Destructor Documentation

◆ at_icc_shutdown_traps()

at_icc_shutdown_traps::at_icc_shutdown_traps ( )
inline
2227: AreaTriggerScript("at_icc_shutdown_traps") { }
Definition: AreaTriggerScript.h:24

Member Function Documentation

◆ OnTrigger()

bool at_icc_shutdown_traps::OnTrigger ( Player player,
AreaTrigger const *   
)
inlineoverridevirtual

Reimplemented from AreaTriggerScript.

2230 {
2231 if (InstanceScript* instance = player->GetInstanceScript())
2232 instance->SetData(DATA_COLDFLAME_JETS, DONE);
2233 return true;
2234 }
@ DATA_COLDFLAME_JETS
Definition: icecrown_citadel.h:117
@ DONE
Definition: InstanceScript.h:60
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1203
Definition: InstanceScript.h:142

References DATA_COLDFLAME_JETS, DONE, and WorldObject::GetInstanceScript().