Thread Tools Display Modes
02-22-20, 06:40 AM   #1
Hypestar
A Defias Bandit
Join Date: Feb 2020
Posts: 1
Question Addon communicating in classic

Hello there,

i am working on an addon for my guild that should let us write some stuff in a couple of editboxes.
The ultimate goal would be to have these entries synced with other players in the raid using that addon so everyone sees the same entries in those boxes in their own addon.

I am quite new to addon developing in wow but got a broad background in programming.
So i am wondering what would be the the preferred way of achieving this in classic wow.

Thank you guys in advance.
  Reply With Quote
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: 2,313
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.
__________________
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

WoWInterface » Developer Discussions » Lua/XML Help » Addon communicating in classic

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off