WoW API: LootSlot

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API LootSlot to API LootSlot without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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[edit]

Arguments[edit]

(slot)
slot
number - the loot slot.

Returns[edit]

unknown

Example[edit]

LootSlot(1)

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

ConfirmLootSlot(1)

must be called after.

Result[edit]

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

Details[edit]