Quantcast
WoWInterface - View Single Post - Is there a way to order event callbacks (by plugin)?
View Single Post
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