WoW:API GameTooltip SetBagItem: Difference between revisions

no edit summary
({{widgetmethod}})
No edit summary
Line 5: Line 5:
<!-- 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 -->


  hasCooldown, repairCost = GameTooltip:SetBagItem(bagId, itemId);
  hasCooldown, repairCost = GameTooltip:SetBagItem(bag, slot);


<!-- 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 16: Line 16:
<!-- List each argument, together with its type -->
<!-- List each argument, together with its type -->


:(bagId, itemId)
:(bag, slot)
:;bagId : Integer? - the ID of the bag
:;bag: Numeric - the ID of the bag
:;itemId : Integer? - the ID of the item
:;slot: Numeric - the ID of the slot


----
----
Anonymous user