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

Public Member Functions

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

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 ()=default
 

Detailed Description

Constructor & Destructor Documentation

◆ AreaTrigger_at_stormwright_shelf()

AreaTrigger_at_stormwright_shelf::AreaTrigger_at_stormwright_shelf ( )
inline
151 : AreaTriggerScript("at_stormwright_shelf")
152 {
153 }
Definition: AreaTriggerScript.h:24

Member Function Documentation

◆ OnTrigger()

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

Reimplemented from AreaTriggerScript.

156 {
159
160 return true;
161 }
@ QUEST_STATUS_INCOMPLETE
Definition: QuestDef.h:103
@ SPELL_CREATE_TRUE_POWER_OF_THE_TEMPEST
Definition: areatrigger_scripts.cpp:144
@ QUEST_STRENGTH_OF_THE_TEMPEST
Definition: areatrigger_scripts.cpp:142
QuestStatus GetQuestStatus(uint32 quest_id) const
Definition: PlayerQuest.cpp:1416
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1169
bool isDead() const
Definition: Unit.h:1824

References Unit::CastSpell(), Player::GetQuestStatus(), Unit::isDead(), QUEST_STATUS_INCOMPLETE, QUEST_STRENGTH_OF_THE_TEMPEST, and SPELL_CREATE_TRUE_POWER_OF_THE_TEMPEST.