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

#include <Unit.h>

Public Member Functions

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

Private Attributes

Unit_dispellerUnit
 
uint32 _dispellerSpell
 
uint8 _chargesRemoved
 

Constructor & Destructor Documentation

DispelInfo::DispelInfo ( Unit dispeller,
uint32  dispellerSpellId,
uint8  chargesRemoved 
)
inlineexplicit
891  :
892  _dispellerUnit(dispeller), _dispellerSpell(dispellerSpellId), _chargesRemoved(chargesRemoved) { }
uint8 _chargesRemoved
Definition: Unit.h:904
Unit * _dispellerUnit
Definition: Unit.h:902
uint32 _dispellerSpell
Definition: Unit.h:903

Member Function Documentation

Unit* DispelInfo::GetDispeller ( ) const
inline
894 { return _dispellerUnit; }
Unit * _dispellerUnit
Definition: Unit.h:902

+ Here is the caller graph for this function:

uint32 DispelInfo::GetDispellerSpellId ( ) const
inline
895 { return _dispellerSpell; }
uint32 _dispellerSpell
Definition: Unit.h:903
uint8 DispelInfo::GetRemovedCharges ( ) const
inline
896 { return _chargesRemoved; }
uint8 _chargesRemoved
Definition: Unit.h:904

+ Here is the caller graph for this function:

void DispelInfo::SetRemovedCharges ( uint8  amount)
inline
898  {
899  _chargesRemoved = amount;
900  }
uint8 _chargesRemoved
Definition: Unit.h:904

+ Here is the caller graph for this function:

Member Data Documentation

uint8 DispelInfo::_chargesRemoved
private
uint32 DispelInfo::_dispellerSpell
private
Unit* DispelInfo::_dispellerUnit
private

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