TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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, int32
CustomSpellValueMod
 
typedef std::vector
< CustomSpellValueMod
StorageType
 

Private Attributes

StorageType storage_
 

Member Typedef Documentation

typedef StorageType::const_iterator CustomSpellValues::const_iterator

Member Function Documentation

void CustomSpellValues::AddSpellMod ( SpellValueMod  mod,
int32  value 
)
inline
177  {
178  storage_.push_back(CustomSpellValueMod(mod, value));
179  }
std::pair< SpellValueMod, int32 > CustomSpellValueMod
Definition: Unit.h:169
StorageType storage_
Definition: Unit.h:192
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the caller graph for this function:

const_iterator CustomSpellValues::begin ( ) const
inline
182  {
183  return storage_.begin();
184  }
StorageType storage_
Definition: Unit.h:192

+ Here is the caller graph for this function:

const_iterator CustomSpellValues::end ( ) const
inline
187  {
188  return storage_.end();
189  }
StorageType storage_
Definition: Unit.h:192

+ Here is the caller graph for this function:

Member Data Documentation

StorageType CustomSpellValues::storage_
private

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