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
 

Detailed Description

Definition at line 384 of file Unit.h.

Constructor & Destructor Documentation

◆ DispelInfo()

DispelInfo::DispelInfo ( WorldObject dispeller,
uint32  dispellerSpellId,
uint8  chargesRemoved 
)
inlineexplicit

Definition at line 387 of file Unit.h.

Member Function Documentation

◆ GetDispeller()

WorldObject * DispelInfo::GetDispeller ( ) const
inline

Definition at line 390 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetDispellerSpellId()

uint32 DispelInfo::GetDispellerSpellId ( ) const
inline

Definition at line 391 of file Unit.h.

◆ GetRemovedCharges()

uint8 DispelInfo::GetRemovedCharges ( ) const
inline

Definition at line 392 of file Unit.h.

+ Here is the caller graph for this function:

◆ SetRemovedCharges()

void DispelInfo::SetRemovedCharges ( uint8  amount)
inline

Definition at line 393 of file Unit.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _chargesRemoved

uint8 DispelInfo::_chargesRemoved
private

Definition at line 397 of file Unit.h.

◆ _dispeller

WorldObject* DispelInfo::_dispeller
private

Definition at line 395 of file Unit.h.

◆ _dispellerSpell

uint32 DispelInfo::_dispellerSpell
private

Definition at line 396 of file Unit.h.


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