Quantcast
WoWInterface - View Single Post - Raid target in strings
View Single Post
06-23-20, 10:53 PM   #9
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,960
You send the string "{rt8}" and the client on the receiving end converts it into the appropriate texture. In Classic, this is done by ChatFrame_ReplaceIconAndGroupExpressions(). In Modern, this was moved into C code and is handled by C_ChatInfo.ReplaceIconAndGroupExpressions().

Here's a list of these icon tags.
https://wow.gamepedia.com/Chat_substitutions
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote