Closed parnic closed 1 year ago
@ascott18 I don't know much about these tooltip changes, but this seems to work? The Beta server I'm on doesn't have player guilds, but some of the NPCs in Stormwind do have guilds, so I verified that FigureNPCGuild()
is working with these changes. I'd like a second opinion, though.
https://wowpedia.fandom.com/wiki/Patch_10.0.2/API_changes#Tooltip_Changes
Looks good to me. Wish they'd just add normal functions that return these things...
Functions like tooltip:SetUnit no longer exist, so this uses the new TooltipInfo APIs to extract the same information.