WoW:API GameTooltip SetBagItem: Difference between revisions

shifted parameters; unsure what 1st parameter is
mNo edit summary
(shifted parameters; unsure what 1st parameter is)
Line 2: Line 2:
<!-- 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(bag, slot);
  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 13: Line 13:
<!-- List each argument, together with its type -->
<!-- List each argument, together with its type -->


:(bag, slot)
:(???, bag, slot)
:;???: Unknown - unidentified parameter (likely a GameTooltip reference)
:;bag: Numeric - the ID of the bag
:;bag: Numeric - the ID of the bag
:;slot: Numeric - the ID of the slot
:;slot: Numeric - the ID of the slot