WoW:API PickupBagFromSlot: Difference between revisions

m
Move page script moved page API PickupBagFromSlot to WoW:API PickupBagFromSlot without leaving a redirect
mNo edit summary
m (Move page script moved page API PickupBagFromSlot to WoW:API PickupBagFromSlot without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
 
Picks up the bag from the specified slot, placing it in the cursor.
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
 
  PickupBagFromSlot(slot);
  PickupBagFromSlot(slot);


<!-- Describe the purpose of the function, though exhausting detail can be saved for a later section -->
==Arguments==
 
;slot : [[API TYPE InventorySlotID|InventorySlotID]] - the slot containing the bag.
:Picks up the bag from the specified slot, placing it in the cursor.
----
;''Arguments''
:(slot)
<!-- List each argument, together with its type -->
:;slot  
::: [[API TYPE InventorySlotID|InventorySlotID]] - the slot containing the bag.
 
----
;''Returns''
 
<!-- List each return value, together with its type -->
:Nothing.
 
----
;''Details''


<!-- Details not appropriate for the main description can go here -->
== Notes ==
:Valid slot numbers are 20-23, numbered from left to right starting after the backpack.
* Valid slot numbers are 20-23, numbered from left to right starting after the backpack.
:inventoryID ,the result of [[API ContainerIDToInventoryID|ContainerIDtoInventoryID(BagID)]], can help to compute the slot number and bag numbers can be viewed in the [[API TYPE InventorySlotID|InventorySlotID]] page.
* inventoryID ,the result of [[API ContainerIDToInventoryID|ContainerIDtoInventoryID(BagID)]], can help to compute the slot number and bag numbers can be viewed in the [[API TYPE InventorySlotID|InventorySlotID]] page.
* [[API PickupInventoryItem|PickupInventoryItem(slot)]] can be used as well.
2,434

edits