AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
SpellModPredicate Struct Reference

Public Member Functions

bool operator() (SpellModifier const *a, SpellModifier const *b) const
 

Detailed Description

Member Function Documentation

◆ operator()()

bool SpellModPredicate::operator() ( SpellModifier const *  a,
SpellModifier const *  b 
) const
inline
9829 {
9830 if (a->type != b->type)
9831 return a->type == SPELLMOD_FLAT;
9832 return a->priority > b->priority;
9833 }
@ SPELLMOD_FLAT
Definition Player.h:93

References SpellModifier::priority, SPELLMOD_FLAT, and SpellModifier::type.


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