Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-03-18, 02:57 AM   #1
drenos
A Defias Bandit
Join Date: Mar 2010
Posts: 2
How to hook LibActionButton?

I have a small addon that allows setting key bindings for spells using a lua file, and an accompanying addon that places these keys as text on action bar buttons.

It was a very long time since I wrote this, so I don't remember all the details but at the moment it uses `hooksecurefunc("ActionButton_Update")` to do its magic.

The code is here - https://github.com/kesor/wow-binder-...nderLabels.lua

Unfortunately, this does not work with ElvUI and/or other action bar addons, most probably because these use LibActionButton.

Can someone please help me figure out how to do the same thing that works with the original action bar buttons, but hooking on some function of LibActionButton?

Thank you!
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » How to hook LibActionButton?


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