OregonCore  revision be9e804-git
Your Favourite TBC server
SpellRankEntry Struct Reference

Public Member Functions

bool operator() (const SpellRankEntry &_Left, const SpellRankEntry &_Right) const
 

Public Attributes

uint32 SkillId
 
char const * SpellName
 
uint32 DurationIndex
 
uint32 RangeIndex
 
uint32 SpellVisual
 
uint32 ProcFlags
 
uint64 SpellFamilyFlags
 
uint32 TargetAuraState
 
uint32 ManaCost
 

Detailed Description

Definition at line 1857 of file SpellMgr.cpp.

Member Function Documentation

bool SpellRankEntry::operator() ( const SpellRankEntry _Left,
const SpellRankEntry _Right 
) const
inline

Definition at line 1869 of file SpellMgr.cpp.

References DurationIndex, ManaCost, ProcFlags, RangeIndex, SkillId, SpellFamilyFlags, SpellName, SpellVisual, and TargetAuraState.

1870  {
1871  return (_Left.SkillId != _Right.SkillId ? _Left.SkillId < _Right.SkillId
1872  : _Left.SpellName != _Right.SpellName ? _Left.SpellName < _Right.SpellName
1873  : _Left.ProcFlags != _Right.ProcFlags ? _Left.ProcFlags < _Right.ProcFlags
1874  : _Left.SpellFamilyFlags != _Right.SpellFamilyFlags ? _Left.SpellFamilyFlags < _Right.SpellFamilyFlags
1875  : (_Left.SpellVisual != _Right.SpellVisual) && (!_Left.SpellVisual || !_Right.SpellVisual) ? _Left.SpellVisual < _Right.SpellVisual
1876  : (_Left.ManaCost != _Right.ManaCost) && (!_Left.ManaCost || !_Right.ManaCost) ? _Left.ManaCost < _Right.ManaCost
1877  : (_Left.DurationIndex != _Right.DurationIndex) && (!_Left.DurationIndex || !_Right.DurationIndex) ? _Left.DurationIndex < _Right.DurationIndex
1878  : (_Left.RangeIndex != _Right.RangeIndex) && (!_Left.RangeIndex || !_Right.RangeIndex || _Left.RangeIndex == 1 || !_Right.RangeIndex == 1) ? _Left.RangeIndex < _Right.RangeIndex
1879  : _Left.TargetAuraState < _Right.TargetAuraState
1880  );
1881  }
uint32 SpellVisual
Definition: SpellMgr.cpp:1863
char const * SpellName
Definition: SpellMgr.cpp:1860
uint32 RangeIndex
Definition: SpellMgr.cpp:1862
uint32 TargetAuraState
Definition: SpellMgr.cpp:1866
uint32 ProcFlags
Definition: SpellMgr.cpp:1864
uint32 DurationIndex
Definition: SpellMgr.cpp:1861
uint64 SpellFamilyFlags
Definition: SpellMgr.cpp:1865

Member Data Documentation

uint32 SpellRankEntry::DurationIndex

Definition at line 1861 of file SpellMgr.cpp.

Referenced by SpellMgr::LoadSpellChains(), and operator()().

uint32 SpellRankEntry::ManaCost

Definition at line 1867 of file SpellMgr.cpp.

Referenced by SpellMgr::LoadSpellChains(), and operator()().

uint32 SpellRankEntry::ProcFlags

Definition at line 1864 of file SpellMgr.cpp.

Referenced by SpellMgr::LoadSpellChains(), and operator()().

uint32 SpellRankEntry::RangeIndex

Definition at line 1862 of file SpellMgr.cpp.

Referenced by SpellMgr::LoadSpellChains(), and operator()().

uint32 SpellRankEntry::SkillId

Definition at line 1859 of file SpellMgr.cpp.

Referenced by SpellMgr::LoadSpellChains(), and operator()().

uint64 SpellRankEntry::SpellFamilyFlags

Definition at line 1865 of file SpellMgr.cpp.

Referenced by SpellMgr::LoadSpellChains(), and operator()().

char const* SpellRankEntry::SpellName

Definition at line 1860 of file SpellMgr.cpp.

Referenced by SpellMgr::LoadSpellChains(), and operator()().

uint32 SpellRankEntry::SpellVisual

Definition at line 1863 of file SpellMgr.cpp.

Referenced by SpellMgr::LoadSpellChains(), and operator()().

uint32 SpellRankEntry::TargetAuraState

Definition at line 1866 of file SpellMgr.cpp.

Referenced by SpellMgr::LoadSpellChains(), and operator()().


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