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
9859 {
9860 if (a->type != b->type)
9861 return a->type == SPELLMOD_FLAT;
9862 return a->priority > b->priority;
9863 }
@ 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: