AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
CaptainSurviveTalk Class Reference
Inheritance diagram for CaptainSurviveTalk:
BasicEvent

Public Member Functions

 CaptainSurviveTalk (Creature const &owner)
 
bool Execute (uint64, uint32) override
 
- Public Member Functions inherited from BasicEvent
 BasicEvent ()=default
 
virtual ~BasicEvent ()=default
 
virtual bool Execute (uint64, uint32)
 
virtual bool IsDeletable () const
 
virtual void Abort (uint64)
 
void ScheduleAbort ()
 

Private Attributes

Creature const & _owner
 

Detailed Description

Constructor & Destructor Documentation

◆ CaptainSurviveTalk()

CaptainSurviveTalk::CaptainSurviveTalk ( Creature const &  owner)
inlineexplicit
357: _owner(owner) { }
Creature const & _owner
Definition: icecrown_citadel.cpp:366

Member Function Documentation

◆ Execute()

bool CaptainSurviveTalk::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

360 {
362 return true;
363 }
@ SAY_CAPTAIN_SURVIVE_TALK
Definition: icecrown_citadel.cpp:93
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr, Milliseconds delay=0s)
Causes the creature to talk/say the text assigned to their entry in the creature_text database table.
Definition: CreatureAI.cpp:50
CreatureAI * AI() const
Definition: Creature.h:143

References _owner, Creature::AI(), SAY_CAPTAIN_SURVIVE_TALK, and CreatureAI::Talk().

Member Data Documentation

◆ _owner

Creature const& CaptainSurviveTalk::_owner
private

Referenced by Execute().