WoW:API GameTooltip SetInventoryItem: Difference between revisions

m
Move page script moved page API GameTooltip SetInventoryItem to WoW:API GameTooltip SetInventoryItem without leaving a redirect
mNo edit summary
m (Move page script moved page API GameTooltip SetInventoryItem to WoW:API GameTooltip SetInventoryItem without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<center>'''Title''' ''-Documentation by [[user:Fitz|fitz]] and [[user:Goatus|Goatus]] -''</center>
{{widgetmethod}}


<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->


  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


Line 55: Line 55:


repairCost info obtained from orginal blizzard lua files (PaperDolFrame.lua and MoneyFrame.lua)
repairCost info obtained from orginal blizzard lua files (PaperDolFrame.lua and MoneyFrame.lua)
----
{{Template:WoW API}}
<!-- Update the category to the appropriate subsection, and be sure to put the function name as the label for the category link. Multiple subcategories are okay if appropriate, please dont link functions to the API Functions category directly. -->
[[Category:API Functions|SetInventoryItem]]
Anonymous user