Returns the current contents of the tooltip.
| type, shown = Inspect.Tooltip() | |||
| type, unit, buff = Inspect.Tooltip() | |||
| Parameter | Type | Datatype | Description |
|---|---|---|---|
| buff | result | buff | The ID of the tooltip's buff. |
| shown | result | variant, nil | The blob describing what is currently shown. Generally, some kind of identifier used in another part of the addon system. |
| type | result | string, nil | The current tooltip type. Valid values include "ability", "buff", "item", "itemtype", and "unit". |
| unit | result | unit | The unit that the buff is attached to. |