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

#include <SpellMgr.h>

Public Member Functions

void AddAura (uint32 petEntry, uint32 aura)
uint32 GetAura (uint32 petEntry) const
int32 GetDamage () const
bool IsRemovedOnChangePet () const
 PetAura ()
 PetAura (uint32 petEntry, uint32 aura, bool _removeOnChangePet, int _damage)

Private Types

typedef UNORDERED_MAP< uint32, uint32PetAuraMap

Private Attributes

PetAuraMap auras
int32 damage
bool removeOnChangePet

Detailed Description

Definition at line 429 of file SpellMgr.h.

Member Typedef Documentation

◆ PetAuraMap

Definition at line 432 of file SpellMgr.h.

Constructor & Destructor Documentation

◆ PetAura() [1/2]

PetAura::PetAura ( )
inline

Definition at line 435 of file SpellMgr.h.

References damage, and removeOnChangePet.

◆ PetAura() [2/2]

PetAura::PetAura ( uint32 petEntry,
uint32 aura,
bool _removeOnChangePet,
int _damage )
inline

Definition at line 437 of file SpellMgr.h.

References auras, damage, and removeOnChangePet.

Member Function Documentation

◆ AddAura()

void PetAura::AddAura ( uint32 petEntry,
uint32 aura )
inline

Definition at line 454 of file SpellMgr.h.

References auras.

◆ GetAura()

uint32 PetAura::GetAura ( uint32 petEntry) const
inline

Definition at line 443 of file SpellMgr.h.

References auras.

Referenced by Pet::CastPetAura(), and Unit::RemovePetAura().

◆ GetDamage()

int32 PetAura::GetDamage ( ) const
inline

Definition at line 464 of file SpellMgr.h.

References damage.

Referenced by Pet::CastPetAura().

◆ IsRemovedOnChangePet()

bool PetAura::IsRemovedOnChangePet ( ) const
inline

Definition at line 459 of file SpellMgr.h.

References removeOnChangePet.

Referenced by Pet::CastPetAuras().

Member Data Documentation

◆ auras

PetAuraMap PetAura::auras
private

Definition at line 470 of file SpellMgr.h.

Referenced by AddAura(), GetAura(), and PetAura().

◆ damage

int32 PetAura::damage
private

Definition at line 472 of file SpellMgr.h.

Referenced by GetDamage(), PetAura(), and PetAura().

◆ removeOnChangePet

bool PetAura::removeOnChangePet
private

Definition at line 471 of file SpellMgr.h.

Referenced by IsRemovedOnChangePet(), PetAura(), and PetAura().


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