Quantcast
WoWInterface - Search Results
Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: SDPhantom
Forum: Lua/XML Help 05-29-23, 07:44 AM
Replies: 22
Views: 5,178
Posted By SDPhantom
I edited my previous post with something that...

I edited my previous post with something that should work for now, but it's still not the ideal way to go at it. It's definitely something that should be done with the OnEnter handler, but the random...
Forum: Lua/XML Help 05-29-23, 06:46 AM
Replies: 22
Views: 5,178
Posted By SDPhantom
The problem with registering with...

The problem with registering with TooltipDataProcessor.AddTooltipPostCall() is it's a global register. This means it'll call the function every time anything wishes to display a spell's tooltip. Not...
Forum: Lua/XML Help 01-26-23, 10:01 AM
Replies: 22
Views: 5,178
Posted By SDPhantom
Indeed. The functions are registered by...

Indeed. The functions are registered by table.insert() (https://github.com/Gethe/wow-ui-source/blob/live/Interface/SharedXML/Tooltip/TooltipDataHandler.lua#L41) and iterated with ipairs()...
Forum: Lua/XML Help 01-25-23, 07:32 PM
Replies: 22
Views: 5,178
Posted By SDPhantom
Other addons can also register with that function...

Other addons can also register with that function and there's no guarantee that your code would run first. Nor is there a way to force it without causing taint, which is more of an issue now that the...
Showing results 1 to 4 of 4