Sol.tooltip.ParseItemData

Sol.tooltip.ParseItemData = function(tooltip)

Parses a tooltip that's been set to an item and attempts to glean as much information from it as possible.

Parameters: + tooltip - a tooltip that's been cleared and set to an item, e.g. with SetBagItem

Returns: + a table of useful data about the item, including type, level, attributes, etc

Example: Sol.tooltip.ClearAllText(GameTooltip) GameTooltip:SetBagItem(GetBagItemInfo(1)) local data = Sol.tooltip.ParseItemData Sol.io.PrintTable(data)