TrinityCore
CastFoodSpell Class Reference
+ Inheritance diagram for CastFoodSpell:

Public Member Functions

 CastFoodSpell (Unit *owner, uint32 spellId)
 
bool Execute (uint64, uint32) 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

Unit_owner
 
uint32 _spellId
 

Detailed Description

Definition at line 2176 of file npcs_special.cpp.

Constructor & Destructor Documentation

◆ CastFoodSpell()

CastFoodSpell::CastFoodSpell ( Unit owner,
uint32  spellId 
)
inline

Definition at line 2179 of file npcs_special.cpp.

Member Function Documentation

◆ Execute()

bool CastFoodSpell::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

Definition at line 2181 of file npcs_special.cpp.

Member Data Documentation

◆ _owner

Unit* CastFoodSpell::_owner
private

Definition at line 2188 of file npcs_special.cpp.

◆ _spellId

uint32 CastFoodSpell::_spellId
private

Definition at line 2189 of file npcs_special.cpp.


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