View Single Post
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