TrinityCore removed the member of SpellEntry i guess so i have the Problem that EffectApplyAuraName is not avaiable anymore.

Can someone pls help me with this? im new in C++ and this one i cant resolve for now.

Code:
 for (auto& i : Spells)
        {
            auto sSpell = sSpellStore.LookupEntry(i);
            if (sSpell->Effect[0] == SPELL_EFFECT_APPLY_AURA && sSpell->EffectApplyAuraName[0] == SPELL_AURA_MOUNTED)
                pPlayer->LearnSpell(sSpell->ID, false);
        }
Would be nice to fix it that i can release the Script for latest TrinityCore here!
Have a nice day and thanks for incoming suggestions!