Imo it would only make sense if you are able to provide this functionality for all given inventory types, vendors, guild stores, alchemy station, crafting station etc. in one library.
Let's say a function to hook the inventory row's callback function + a parameter for your own callback function.
And it would only make sense if the library would be able to control all addons using it somehow so it could disable/enable others, or at least "chain" or "sort" the different callback functions in any way?
I can't really think of any real use of a library here except a "standard" usage of source code so others can understand it better somehow.
|