TrinityCore
ForcedDespawnDelayEvent Class Reference

#include <Creature.h>

+ Inheritance diagram for ForcedDespawnDelayEvent:

Public Member Functions

 ForcedDespawnDelayEvent (Creature &owner, Seconds respawnTimer)
 
bool Execute (uint64 e_time, uint32 p_time) override
 
- Public Member Functions inherited from BasicEvent
 BasicEvent ()
 
virtual ~BasicEvent ()
 
virtual bool Execute (uint64, uint32)
 
virtual bool IsDeletable () const
 
virtual void Abort (uint64)
 
void ScheduleAbort ()
 

Private Attributes

Creaturem_owner
 
Seconds const m_respawnTimer
 

Detailed Description

Definition at line 586 of file Creature.h.

Constructor & Destructor Documentation

◆ ForcedDespawnDelayEvent()

ForcedDespawnDelayEvent::ForcedDespawnDelayEvent ( Creature owner,
Seconds  respawnTimer 
)
inline

Definition at line 589 of file Creature.h.

Member Function Documentation

◆ Execute()

bool ForcedDespawnDelayEvent::Execute ( uint64  e_time,
uint32  p_time 
)
overridevirtual

Reimplemented from BasicEvent.

Definition at line 300 of file Creature.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_owner

Creature& ForcedDespawnDelayEvent::m_owner
private

Definition at line 593 of file Creature.h.

◆ m_respawnTimer

Seconds const ForcedDespawnDelayEvent::m_respawnTimer
private

Definition at line 594 of file Creature.h.


The documentation for this class was generated from the following files: