ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Wish List (https://www.esoui.com/forums/forumdisplay.php?f=177)
-   -   [outdated] FILTER_TYPE chat channel (https://www.esoui.com/forums/showthread.php?t=7675)

manavortex 03/17/18 07:26 AM

[outdated] FILTER_TYPE chat channel
 
Hello Chip,
could we get FILTER_TYPES for the different chat channels? That would make life easier for AddOns that parse chat input.

Thank you. :)

Baertram 03/18/18 01:54 PM

Yes, I definately second this request for several chat related addons which change the channel to speak on automatically.

Filtering Chat channels from npcs etc. Would speed up the events a lot imo.

sirinsidiator 03/18/18 02:44 PM

I can see how filters make sense for combat and inventory events performance wise, as they are fired quite often, but chat events? I have never seen more than a handful in any given second? It shouldn't make any noticeable difference when you filter them in Lua compared to C. Still could be nice for completeness sake to have a filter type for them.

Dolgubon 03/18/18 02:50 PM

Quote:

Originally Posted by sirinsidiator (Post 34172)
I can see how filters make sense for combat and inventory events performance wise, as they are fired quite often, but chat events? I have never seen more than a handful in any given second? It shouldn't make any noticeable difference when you filter them in Lua compared to C. Still could be nice for completeness sake to have a filter type for them.

Clearly, you have never been in multiple trade guilds all doing an auction while being in Auridon when zone chat is debating politics.

sirinsidiator 03/18/18 02:54 PM

Quote:

Originally Posted by Dolgubon (Post 34173)
Clearly, you have never been in multiple trade guilds all doing an auction while being in Auridon when zone chat is debating politics.

I am in multiple trading guilds, but still wouldn't think about performance implications with that amount of chat messages...

Ayantir 03/18/18 04:53 PM

I don't understand your request. There is already filters for chat.

What do you want to do?

And there is nothing about performance. When a lazy dev debugs 10k lines in 1 s, chat don't suffers that much. And I know you all do that.

Baertram 03/19/18 06:51 AM

If there is no impact on performance I'm fine with just checking the event's callback function parameter (e.g. chat_channel_type).
I thought it's nice to do this on the C side if we e.g. do not want to have any of the NPC messages or zone messages within our addon, but just need to check the guild chat e.g.

@Ayantir
Ok, so where are those filters for the chat? Do they work liek the other event filters too?


All times are GMT -6. The time now is 01:47 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI