![]() |
TrinityCore
|
Inheritance diagram for spell_gen_prevent_emotes:Private Member Functions | |
| PrepareAuraScript (spell_gen_prevent_emotes) | |
| void | HandleEffectApply (AuraEffect const *, AuraEffectHandleModes) |
| void | OnRemove (AuraEffect const *, AuraEffectHandleModes) |
| void | Register () override |
Definition at line 2877 of file spell_generic.cpp.
|
inlineprivate |
Definition at line 2881 of file spell_generic.cpp.
References AuraScript::GetTarget(), Unit::SetUnitFlag(), and UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT.
Referenced by Register().
|
inlineprivate |
Definition at line 2887 of file spell_generic.cpp.
References AuraScript::GetTarget(), Unit::RemoveUnitFlag(), and UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 2893 of file spell_generic.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraEffectApplyFn, AuraEffectRemoveFn, EFFECT_FIRST_FOUND, HandleEffectApply(), AuraScript::OnEffectApply, AuraScript::OnEffectRemove, OnRemove(), and SPELL_AURA_ANY.