volvox.EventHandler (defined in Hooks/CombatLogReader.lua) is a singleton dispatcher for normal game events and combat-log sub-events. Handler errors are isolated with pcall and reported via volvox:LogError, throttled per event name to once per 5 seconds.
Combat-log sub-events
eventData table:
volvox.GetCombatLogEventInfo() (a secret-unwrapping wrapper from Util/Secure.lua).
Normal game events
UnregisterNormalEvent(event, handler) removes the first matching handler and unregisters the frame event when the last handler is gone.
Raw combat log
Lifecycle
| Signature | Behavior |
|---|---|
EventHandler:Enable() | Creates the event frame, registers COMBAT_LOG_EVENT_UNFILTERED plus queued normal events, installs the OnEvent script. Idempotent — called at file load and again from volvox:Init(). |
EventHandler:Disable() | Unregisters all events and clears the OnEvent script. Idempotent. |
EventHandler:AddFilter(event, filterFunc) | Stores a filter predicate per event. |
.png?fit=max&auto=format&n=yZatCT6YQ7S22QWv&q=85&s=bb502db827d4362d1268445c3b70d21d)