Thread Tools Display Modes
05/12/21, 07:16 AM   #1
Phinix's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 186
[open] Request new event filter (performance)

I wanted to request adding a MsgEffectResult (changeType) event filter for EVENT_EFFECT_CHANGED. Use case would be, registering the unfiltered event only for EFFECT_RESULT_GAINED.

This way a local table of gained abilityIds per unitTag can be kept by an aura-tracking addon like Srendarr, and each could be registered for EVENT_EFFECT_CHANGED in its own namespace by abilityId and unregistered when the effect ends.

This should significantly improve performance, as you are only then open-listening for EFFECT_RESULT_GAINED events in EVENT_EFFECT_CHANGED (which is a heavy event), along with a pre-filtered list of specific abilityIds.
  Reply With Quote

ESOUI » Developer Discussions » Wish List » [open] Request new event filter (performance)

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