Skip to content

Scan Tooltip Inventory Info

Game Version Wrapper

Returns tooltip data for an inventory slot using the active client tooltip API.

NamespaceEModuleCoreLifecyclewrapper
E:ScanTooltip_InventoryInfo(unit, slot)

Returns tooltip data for an inventory slot using the active client tooltip API.

unit: Unit token. slot: Inventory slot id.

Tooltip data table.

local info = E:ScanTooltip_InventoryInfo("player", 16)

Useful for addon item inspection without branching on C_TooltipInfo support.

Source: ElvUI/Game/Shared/General/API.lua:1304