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

Public Member Functions

 DelayedSummonEvent (Unit *owner, uint32 entry, Position pos)
 
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

Unit_owner
 
uint32 _entry
 
Position _pos
 

Detailed Description

Constructor & Destructor Documentation

◆ DelayedSummonEvent()

DelayedSummonEvent::DelayedSummonEvent ( Unit owner,
uint32  entry,
Position  pos 
)
inline
317: _owner(owner), _entry(entry), _pos(pos) { }
uint32 _entry
Definition: chapter5.cpp:327
Unit * _owner
Definition: chapter5.cpp:326
Position _pos
Definition: chapter5.cpp:328

Member Function Documentation

◆ Execute()

bool DelayedSummonEvent::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

320 {
322 return true;
323 }
@ TEMPSUMMON_CORPSE_TIMED_DESPAWN
Definition: Object.h:51
TempSummon * SummonCreature(uint32 id, const Position &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0, SummonPropertiesEntry const *properties=nullptr, bool visibleBySummonerOnly=false) const
Definition: Object.cpp:2366

References _entry, _owner, _pos, WorldObject::SummonCreature(), and TEMPSUMMON_CORPSE_TIMED_DESPAWN.

Member Data Documentation

◆ _entry

uint32 DelayedSummonEvent::_entry
private

Referenced by Execute().

◆ _owner

Unit* DelayedSummonEvent::_owner
private

Referenced by Execute().

◆ _pos

Position DelayedSummonEvent::_pos
private

Referenced by Execute().