WoW:API GetInventoryItemLink
Jump to navigation
Jump to search
Get a link string for the specified item.
link = GetInventoryItemLink("unit", slotId)
Parameters
Arguments
- ("unit", slotId)
- unit
- String - The UnitId of the unit whose inventory is to be queried.
- slotId
- Numeric - The inventory slot to be queried, obtained via GetInventorySlotInfo.
Returns
- link
- link
- String - The link string for the specified item, or nil if the slot is empty.