137 {
140 return;
142 if (!target)
143 return;
145
150
152 }
LocaleConstant
Definition: Common.h:65
@ SPELL_TAUNT_FLAG
Definition: spell_generic.cpp:121
@ TEXT_FLAG_OF_OWNERSHIP
Definition: spell_generic.cpp:120
@ CHAT_MSG_MONSTER_EMOTE
Definition: SharedDefines.h:3168
@ LANG_UNIVERSAL
Definition: SharedDefines.h:735
#define sObjectMgr
Definition: ObjectMgr.h:1635
@ CONFIG_LISTEN_RANGE_TEXTEMOTE
Definition: IWorld.h:196
#define sWorld
Definition: World.h:443
std::string StringFormat(FormatString< Args... > fmt, Args &&... args)
Default AC string format function.
Definition: StringFormat.h:34
bool IsPlayer() const
Definition: Object.h:200
std::string const & GetName() const
Definition: Object.h:463
Definition: Player.h:1081
WorldSession * GetSession() const
Definition: Player.h:1998
uint8 getGender() const
Definition: Unit.h:805
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1167
virtual void Talk(std::string_view text, ChatMsg msgType, Language language, float textRange, WorldObject const *target)
Definition: Unit.cpp:21131
Definition: ObjectMgr.h:434
std::string const & GetText(LocaleConstant locale=DEFAULT_LOCALE, uint8 gender=GENDER_MALE, bool forceGender=false) const
Definition: ObjectMgr.h:456
LocaleConstant GetSessionDbLocaleIndex() const
Definition: WorldSession.h:498
Player * GetHitPlayer()
Definition: SpellScript.cpp:471