WoW:API LootSlot: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Updated after experimentation.)
m (Move page script moved page API LootSlot to API LootSlot without leaving a redirect)
 

Latest revision as of 04:46, 15 August 2023

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)

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