oUF

99.9k Downloads

problem with event with arguments other than the unit

gagou opened this issue ยท 1 comments

commented

since the introduction of the new event handler there are some problem with events having arguments other than the unit if they are not defined in the sharedUnitEvents table of events.lua
PLAYER_TOTEM_UPDATE event is such an event (it have the totem index passed as an argument but not the unit so it should be defined in sharedUnitEvents)
I've also made a personal oUF plugin for mirror bars and MIRROR_TIMER_% events also have arguments but not the unit, so those events should be in sharedUnitEvents.

==> In my opinion custom elements should be able to add events to this table when they register this events

commented

This is something which will be allowed. There's just a couple of things I need to make a decision on first.