WoW API: LootSlot
This will attempt to loot the specified slot. If you must confirm that you want to loot the slot (BoP, loot rolls, etc), then a follow-up call to ConfirmLootSlot is needed.
LootSlot(slot)
ParametersEdit
ArgumentsEdit
- (slot)
- slot
- number - the loot slot.
ReturnsEdit
- unknown
ExampleEdit
LootSlot(1)
if slot 1 contains an item that must be confirmed, then
ConfirmLootSlot(1)
must be called after.
ResultEdit
- This function is called whenever a LootButton is clicked (or auto looted).