TrinityCore
AssistDelayEvent Class Reference

#include <Creature.h>

+ Inheritance diagram for AssistDelayEvent:

Public Member Functions

 AssistDelayEvent (ObjectGuid victim, Unit &owner)
 
bool Execute (uint64 e_time, uint32 p_time) override
 
void AddAssistant (ObjectGuid guid)
 
- 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 Member Functions

 AssistDelayEvent ()
 

Private Attributes

ObjectGuid m_victim
 
GuidList m_assistants
 
Unitm_owner
 

Detailed Description

Definition at line 571 of file Creature.h.

Constructor & Destructor Documentation

◆ AssistDelayEvent() [1/2]

AssistDelayEvent::AssistDelayEvent ( ObjectGuid  victim,
Unit owner 
)
inline

Definition at line 574 of file Creature.h.

◆ AssistDelayEvent() [2/2]

AssistDelayEvent::AssistDelayEvent ( )
private

Member Function Documentation

◆ AddAssistant()

void AssistDelayEvent::AddAssistant ( ObjectGuid  guid)
inline

Definition at line 577 of file Creature.h.

+ Here is the caller graph for this function:

◆ Execute()

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

Reimplemented from BasicEvent.

Definition at line 276 of file Creature.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_assistants

GuidList AssistDelayEvent::m_assistants
private

Definition at line 582 of file Creature.h.

◆ m_owner

Unit& AssistDelayEvent::m_owner
private

Definition at line 583 of file Creature.h.

◆ m_victim

ObjectGuid AssistDelayEvent::m_victim
private

Definition at line 581 of file Creature.h.


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