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

#include <Unit.h>

Public Types

typedef StorageType::const_iterator const_iterator

Public Member Functions

void AddSpellMod (SpellValueMod mod, int32 value)
const_iterator begin () const
const_iterator end () const

Private Types

typedef std::pair< SpellValueMod, int32CustomSpellValueMod
typedef std::vector< CustomSpellValueModStorageType

Private Attributes

StorageType storage_

Detailed Description

Definition at line 122 of file Unit.h.

Member Typedef Documentation

◆ const_iterator

typedef StorageType::const_iterator CustomSpellValues::const_iterator

Definition at line 128 of file Unit.h.

◆ CustomSpellValueMod

Definition at line 124 of file Unit.h.

◆ StorageType

Definition at line 125 of file Unit.h.

Member Function Documentation

◆ AddSpellMod()

◆ begin()

const_iterator CustomSpellValues::begin ( ) const
inline

Definition at line 136 of file Unit.h.

References storage_.

Referenced by Unit::CastSpell().

◆ end()

const_iterator CustomSpellValues::end ( ) const
inline

Definition at line 141 of file Unit.h.

References storage_.

Referenced by Unit::CastSpell().

Member Data Documentation

◆ storage_

StorageType CustomSpellValues::storage_
private

Definition at line 147 of file Unit.h.

Referenced by AddSpellMod(), begin(), and end().


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