TrinityCore
DispelInfo Class Reference

#include <Unit.h>

Public Member Functions

 DispelInfo (WorldObject *dispeller, uint32 dispellerSpellId, uint8 chargesRemoved)
 
WorldObjectGetDispeller () const
 
uint32 GetDispellerSpellId () const
 
uint8 GetRemovedCharges () const
 
void SetRemovedCharges (uint8 amount)
 

Private Attributes

WorldObject_dispeller
 
uint32 _dispellerSpell
 
uint8 _chargesRemoved
 

Constructor & Destructor Documentation

◆ DispelInfo()

DispelInfo::DispelInfo ( WorldObject dispeller,
uint32  dispellerSpellId,
uint8  chargesRemoved 
)
inlineexplicit
382  :
383  _dispeller(dispeller), _dispellerSpell(dispellerSpellId), _chargesRemoved(chargesRemoved) { }
uint8 _chargesRemoved
Definition: Unit.h:392
WorldObject * _dispeller
Definition: Unit.h:390
uint32 _dispellerSpell
Definition: Unit.h:391

Member Function Documentation

◆ GetDispeller()

WorldObject* DispelInfo::GetDispeller ( ) const
inline
385 { return _dispeller; }
WorldObject * _dispeller
Definition: Unit.h:390
+ Here is the caller graph for this function:

◆ GetDispellerSpellId()

uint32 DispelInfo::GetDispellerSpellId ( ) const
inline
386 { return _dispellerSpell; }
uint32 _dispellerSpell
Definition: Unit.h:391

◆ GetRemovedCharges()

uint8 DispelInfo::GetRemovedCharges ( ) const
inline
387 { return _chargesRemoved; }
uint8 _chargesRemoved
Definition: Unit.h:392
+ Here is the caller graph for this function:

◆ SetRemovedCharges()

void DispelInfo::SetRemovedCharges ( uint8  amount)
inline
388 { _chargesRemoved = amount; }
uint8 _chargesRemoved
Definition: Unit.h:392
+ Here is the caller graph for this function:

Member Data Documentation

◆ _chargesRemoved

uint8 DispelInfo::_chargesRemoved
private

◆ _dispeller

WorldObject* DispelInfo::_dispeller
private

◆ _dispellerSpell

uint32 DispelInfo::_dispellerSpell
private

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