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

Public Member Functions

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

◆ AreaTrigger_at_coilfang_waterfall()

AreaTrigger_at_coilfang_waterfall::AreaTrigger_at_coilfang_waterfall ( )
inline
77 : AreaTriggerScript("at_coilfang_waterfall")
78 {
79 }
Definition: AreaTriggerScript.h:24

Member Function Documentation

◆ OnTrigger()

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

Reimplemented from AreaTriggerScript.

82 {
84 if (go->getLootState() == GO_READY)
85 go->UseDoorOrButton();
86
87 return false;
88 }
@ GO_COILFANG_WATERFALL
Definition: areatrigger_scripts.cpp:70
GameObject * GetClosestGameObjectWithEntry(WorldObject *source, uint32 entry, float maxSearchRange, bool onlySpawned)
Definition: ScriptedCreature.cpp:855
@ GO_READY
Definition: GameObject.h:111
Definition: GameObject.h:120

References GetClosestGameObjectWithEntry(), GO_COILFANG_WATERFALL, and GO_READY.