WoW:API PickupBagFromSlot: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
mNo edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''PickupBagFromSlot''' ''-Documentation by [[user:Arvenis|Arvenis]]-''</center>


<!-- 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 -->

Revision as of 18:16, 2 November 2007

WoW API < PickupBagFromSlot


PickupBagFromSlot(slot);


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

Arguments
(slot)
slot
InventorySlotID - the slot containing the bag.

Returns
Nothing.

Details
Valid slot numbers are 20-23, numbered from left to right starting after the backpack.
inventoryID ,the result of ContainerIDtoInventoryID(BagID), can help to compute the slot number and bag numbers can be viewed in the InventorySlotID page.