Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-16-19, 10:58 AM   #1
vaindil
A Murloc Raider
 
vaindil's Avatar
Join Date: Jan 2015
Posts: 6
Hooking function when other addons are using local copies of it

I use an addon that calls hooksecurefunc on TaxiRequestEarlyLanding. I also use a UI addon that replaces the Blizzard button that actually calls that function. The UI is using a local copy of the function, so the hook is never called.

What's the correct way for this situation to be handled? ElvUI does the same thing as the UI that I use, so I assume using a local copy of the function is fine. How is an addon supposed to hook a function when other addons may not trigger the hook?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Hooking function when other addons are using local copies of it


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