WoW:API PickupBagFromSlot: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 9: Line 9:
* 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.

Revision as of 20:45, 5 July 2013

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