Thread Tools Display Modes
03/24/22, 09:28 PM   #1
AddOn Author - Click to view addons
Join Date: Oct 2018
Posts: 3
[open] message bus for addons

Right now its implemented in ridiculous way with map-ping.
A lot of addons may use this functions, if there will be "right" and less restricted way to do it.

so, without introducing very special functionality for this, what we need is:

- "hidden" group channel, which addons can write to. ref: CHAT_ROUTER:AddSystemMessage(message)
- event to subscribe (already existing EVENT_CHAT_MESSAGE_CHANNEL, or smth special with autodeserialize)
- maybe some included funcs for (de)serialize (json_encode, json_decode ?)

 EVENT_MANAGER:RegisterForEvent("...", EVENT_CHAT_DATA_MESSAGE, fn(_, unitTag, displayName, tableData))
  Reply With Quote
03/25/22, 03:06 AM   #2
Super Moderator
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,876
Previous threads for reference:
  Reply With Quote

ESOUI » Developer Discussions » Wish List » [open] message bus for addons

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