LootSlot

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Loots the specified slot; can require confirmation with ConfirmLootSlot.

LootSlot(slot)

Parameters

Arguments

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).