WoW:API PickupBagFromSlot: Difference between revisions

mNo edit summary
m (Move page script moved page API PickupBagFromSlot to API PickupBagFromSlot without leaving a redirect)
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<center>'''PickupBagFromSlot''' ''-Documentation by [[user:Arvenis|Arvenis]]-''</center>
{{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  
::: Integer - 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 -->
:Valid slot numbers are 20-23, numbered from left to right starting after the backpack.


----
== Notes ==
{{Template:WoW API}} :
* Valid slot numbers are 20-23, numbered from left to right starting after the backpack.
<!-- 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. -->
* 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.
[[World of Warcraft API#Inventory_Functions|Inventory Functions]]
* [[API PickupInventoryItem|PickupInventoryItem(slot)]] can be used as well.
[[Category:API Functions|PickupBagFromSlot]]
[[Category:API Cursor Functions|PickupBagFromSlot]]
[[Category:API Container Functions|PickupBagFromSlot]]
[[Category:API Inventory Functions|PickupBagFromSlot]]

Latest revision as of 04:47, 15 August 2023

WoW API < PickupBagFromSlot

Picks up the bag from the specified slot, placing it in the cursor.

PickupBagFromSlot(slot);

Arguments

slot
InventorySlotID - the slot containing the bag.

Notes