Quantcast
Is there a way to order event callbacks (by plugin)? - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-30-14, 01:57 AM   #1
BlueRaja
A Defias Bandit
Join Date: Dec 2014
Posts: 3
Is there a way to order event callbacks (by plugin)?

I'm extending a chat-filter plugin to work with several other chat-based plugins. The other plugins handle the "CHAT_MSG_CHANNEL" event, and return true, indicating they've handled the message and (I assume) stopping the event from bubbling to other plugins.

In order to filter these messages, I need to handle them before the other plugins. Is there some way of guaranteeing the order that events are passed to plugins?
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Is there a way to order event callbacks (by plugin)?

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