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

Public Member Functions

 PhasedRespawn (Creature &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_owner
 

Detailed Description

Constructor & Destructor Documentation

◆ PhasedRespawn()

PhasedRespawn::PhasedRespawn ( Creature owner)
inline
35: BasicEvent(), _owner(owner) {}
BasicEvent()=default
Creature & _owner
Definition: CreatureAI.cpp:44

Member Function Documentation

◆ Execute()

bool PhasedRespawn::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

38 {
40 return true;
41 }
void RespawnOnEvade()
Respawn when evading.
Definition: Creature.cpp:2174

References _owner, and Creature::RespawnOnEvade().

Member Data Documentation

◆ _owner

Creature& PhasedRespawn::_owner
private

Referenced by Execute().