TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ForcedUnsummonDelayEvent Class Reference

#include <TemporarySummon.h>

Public Member Functions

 ForcedUnsummonDelayEvent (TempSummon &owner)
 
bool Execute (uint64 e_time, uint32 p_time) override
 
- Public Member Functions inherited from BasicEvent
 BasicEvent ()
 
virtual ~BasicEvent ()
 
virtual bool IsDeletable () const
 
virtual void Abort (uint64)
 

Private Attributes

TempSummonm_owner
 

Additional Inherited Members

- Public Attributes inherited from BasicEvent
bool to_Abort
 
uint64 m_addTime
 
uint64 m_execTime
 

Constructor & Destructor Documentation

ForcedUnsummonDelayEvent::ForcedUnsummonDelayEvent ( TempSummon owner)
inline
120 : BasicEvent(), m_owner(owner) { }
BasicEvent()
Definition: EventProcessor.h:31
TempSummon & m_owner
Definition: TemporarySummon.h:124

Member Function Documentation

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

Reimplemented from BasicEvent.

263 {
264  m_owner.UnSummon();
265  return true;
266 }
TempSummon & m_owner
Definition: TemporarySummon.h:124
virtual void UnSummon(uint32 msTime=0)
Definition: TemporarySummon.cpp:237

+ Here is the call graph for this function:

Member Data Documentation

TempSummon& ForcedUnsummonDelayEvent::m_owner
private

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