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

Public Member Functions

 AreaTrigger_at_coilfang_waterfall ()
 
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

AreaTrigger_at_coilfang_waterfall::AreaTrigger_at_coilfang_waterfall ( )
inline
54 : AreaTriggerScript("at_coilfang_waterfall") { }
AreaTriggerScript(const char *name)
Definition: ScriptMgr.cpp:1598

Member Function Documentation

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

Reimplemented from AreaTriggerScript.

57  {
59  if (go->getLootState() == GO_READY)
60  go->UseDoorOrButton();
61 
62  return false;
63  }
Definition: areatrigger_scripts.cpp:48
Definition: GameObject.h:880
Definition: GameObject.h:869
TC_GAME_API GameObject * GetClosestGameObjectWithEntry(WorldObject *source, uint32 entry, float maxSearchRange)
Definition: ScriptedCreature.cpp:616

+ Here is the call graph for this function:


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