Quantcast WoWInterface - View Single Post - Addon communicating in classic
View Single Post
02-22-20, 12:47 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,920
I'd start looking at C_ChatInfo.SendAddonMessage() and CHAT_MSG_ADDON.
You'll also have to register your prefix with C_ChatInfo.RegisterAddonMessagePrefix() to start receiving your messages.

PS: Your prefix is a string that's used to identify messages from your addon. It's suggested to base it off your addon's name.
__________________
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)

Last edited by SDPhantom : 02-22-20 at 12:56 PM.
  Reply With Quote