WoW:API GameTooltip SetInventoryItem: Difference between revisions

m
wikify inventory slot link
mNo edit summary
m (wikify inventory slot link)
Line 4: Line 4:


  hasItem, hasCooldown, repairCost =  
  hasItem, hasCooldown, repairCost =  
   Tooltip:SetInventoryItem("unit", slot {, nameOnly});
   Tooltip:SetInventoryItem("unit", [[inventorySlotId|invSlot]] {, nameOnly});


<!-- Describe the purpose of the function, though exhausting detail can be saved for a later section -->
<!-- Describe the purpose of the function, though exhausting detail can be saved for a later section -->
Line 17: Line 17:
:("unit", slot {, nameOnly})
:("unit", slot {, nameOnly})
:;unit : String - the unit whose inventory should be searched
:;unit : String - the unit whose inventory should be searched
:;slot : Number - the inventory slot number to search
:;slot : Number - the [[inventorySlotId|inventory slot number]] to search
:;nameOnly : Unknown - unknown argument
:;nameOnly : Unknown - unknown argument


Anonymous user