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

Public Member Functions

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

Member Function Documentation

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

Reimplemented from AreaTriggerScript.

2150  {
2151  if (InstanceScript* instance = player->GetInstanceScript())
2152  if (Creature* crok = ObjectAccessor::GetCreature(*player, instance->GetGuidData(DATA_CROK_SCOURGEBANE)))
2153  crok->AI()->DoAction(ACTION_START_GAUNTLET);
2154  return true;
2155  }
Definition: icecrown_citadel.h:107
Definition: icecrown_citadel.cpp:269
Definition: Creature.h:467
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:174
Definition: InstanceScript.h:141

+ Here is the call graph for this function:


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