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

AreaTrigger_at_stormwright_shelf::AreaTrigger_at_stormwright_shelf ( )
inline
149 : AreaTriggerScript("at_stormwright_shelf")
150 {
151 }
Definition: AreaTriggerScript.h:24

Member Function Documentation

◆ OnTrigger()

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

Reimplemented from AreaTriggerScript.

154 {
157
158 return true;
159 }
@ QUEST_STATUS_INCOMPLETE
Definition: QuestDef.h:103
@ SPELL_CREATE_TRUE_POWER_OF_THE_TEMPEST
Definition: areatrigger_scripts.cpp:142
@ QUEST_STRENGTH_OF_THE_TEMPEST
Definition: areatrigger_scripts.cpp:140
QuestStatus GetQuestStatus(uint32 quest_id) const
Definition: PlayerQuest.cpp:1424
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:1168
bool isDead() const
Definition: Unit.h:1206

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