Quantcast WoWInterface - View Single Post - Chat Addon Optimization
View Single Post
07-07-19, 01:00 PM   #3
Terenna
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 95
Seerah, Thank you for reading and replying! Noted on eventTable and frames.

I am filtering all these events as it seemed to be the only way to modify the chat without tainting. Many chat addons don't use the filter strategy, and instead modify the AddMessage() function, which I've found taints the communities tab. If I wanted to colorize names in chat, or add hyperlinks to certain chat events that don't hyperlink the actor (like looting), I could rewrite the AddMessage() function and cause taint, or I could perform the method (as tedious as it may be) I used. As far as I can figure out, there isn't a third option, but I'm more than willing to get new information and rewrite the code.

As for the downside of always adding to ChatFrame1, yes, this is absolutely a pitfall. I haven't figured out a way to make it so the chat could show up in different tabs as the user wants quite yet, but as I keep all of my chat in the main window, it's worked for now.

Last edited by Terenna : 07-07-19 at 01:11 PM.
  Reply With Quote