View Single Post
12-16-23, 01:33 AM   #8
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,897
The hooks just run after the original called function is actioned so they don't change hoe clicking an item fundamentally works. That would take a much more complicated approach which would change the bags/bank workings entirely.

The protected function can only be used in response to a hardware event (keyboard/mouse click) usually on a widget that derives from a secure template

I think this thread might be useful, at least in terms of the idea of how it works using a SecureActionButtonTemplate in conjunction with macro text.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 12-16-23 at 01:36 AM.
  Reply With Quote