TrinityCore
Loading...
Searching...
No Matches
PetAura Class Reference

#include <SpellMgr.h>

Public Member Functions

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

Private Types

typedef std::unordered_map< uint32, uint32PetAuraMap
 

Private Attributes

PetAuraMap auras
 
bool removeOnChangePet
 
SpellEffectValue damage
 

Detailed Description

Definition at line 434 of file SpellMgr.h.

Member Typedef Documentation

◆ PetAuraMap

typedef std::unordered_map<uint32, uint32> PetAura::PetAuraMap
private

Definition at line 437 of file SpellMgr.h.

Constructor & Destructor Documentation

◆ PetAura() [1/2]

PetAura::PetAura ( )
inline

Definition at line 440 of file SpellMgr.h.

◆ PetAura() [2/2]

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

Definition at line 442 of file SpellMgr.h.

Member Function Documentation

◆ AddAura()

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

Definition at line 459 of file SpellMgr.h.

◆ GetAura()

uint32 PetAura::GetAura ( uint32  petEntry) const
inline

Definition at line 448 of file SpellMgr.h.

+ Here is the caller graph for this function:

◆ GetDamage()

SpellEffectValue PetAura::GetDamage ( ) const
inline

Definition at line 469 of file SpellMgr.h.

+ Here is the caller graph for this function:

◆ IsRemovedOnChangePet()

bool PetAura::IsRemovedOnChangePet ( ) const
inline

Definition at line 464 of file SpellMgr.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ auras

PetAuraMap PetAura::auras
private

Definition at line 475 of file SpellMgr.h.

◆ damage

SpellEffectValue PetAura::damage
private

Definition at line 477 of file SpellMgr.h.

◆ removeOnChangePet

bool PetAura::removeOnChangePet
private

Definition at line 476 of file SpellMgr.h.


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