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
9903 {
9904 if (a->type != b->type)
9905 return a->type == SPELLMOD_FLAT;
9906 return a->priority > b->priority;
9907 }
@ SPELLMOD_FLAT
Definition Player.h:94

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


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