API LootSlot

From Wowpedia
Jump to: navigation, search

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)

Parameters

Arguments

(slot)
slot 
number - the loot slot.

Returns

unknown

Example

LootSlot(1)

if slot 1 contains an item that must be confirmed, then

ConfirmLootSlot(1)

must be called after.

Result

This function is called whenever a LootButton is clicked (or auto looted).

Details