mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-27 01:00:13 +00:00
refactor: add fireAddonEvent() helper to eliminate 170+ null checks
Add inline fireAddonEvent() that wraps the addonEventCallback_ null check. Replace ~120 direct addonEventCallback_ calls with fireAddonEvent, eliminating redundant null checks at each callsite and reducing boilerplate by ~30 lines.
This commit is contained in:
parent
98b9e502c5
commit
d646a0451d
2 changed files with 246 additions and 277 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue