Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
DispelInfo Class Reference

#include <Unit.h>

Collaboration diagram for DispelInfo:

Public Member Functions

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

Private Attributes

uint8 _chargesRemoved
uint32 _dispellerSpell
Unit_dispellerUnit

Detailed Description

Definition at line 833 of file Unit.h.

Constructor & Destructor Documentation

◆ DispelInfo()

DispelInfo::DispelInfo ( Unit * dispeller,
uint32 dispellerSpellId,
uint8 chargesRemoved )
inlineexplicit

Definition at line 836 of file Unit.h.

References _chargesRemoved, _dispellerSpell, and _dispellerUnit.

Member Function Documentation

◆ GetDispeller()

◆ GetDispellerSpellId()

uint32 DispelInfo::GetDispellerSpellId ( ) const
inline

Definition at line 844 of file Unit.h.

References _dispellerSpell.

◆ GetRemovedCharges()

uint8 DispelInfo::GetRemovedCharges ( ) const
inline

◆ SetRemovedCharges()

void DispelInfo::SetRemovedCharges ( uint8 amount)
inline

Definition at line 852 of file Unit.h.

References _chargesRemoved.

Referenced by spell_halion_marks::spell_halion_marks_AuraScript::BeforeDispel().

Member Data Documentation

◆ _chargesRemoved

uint8 DispelInfo::_chargesRemoved
private

Definition at line 859 of file Unit.h.

Referenced by DispelInfo(), GetRemovedCharges(), and SetRemovedCharges().

◆ _dispellerSpell

uint32 DispelInfo::_dispellerSpell
private

Definition at line 858 of file Unit.h.

Referenced by DispelInfo(), and GetDispellerSpellId().

◆ _dispellerUnit

Unit* DispelInfo::_dispellerUnit
private

Definition at line 857 of file Unit.h.

Referenced by DispelInfo(), and GetDispeller().


The documentation for this class was generated from the following file:
  • src/server/game/Entities/Unit/Unit.h