WoW:API LootSlot: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Move page script moved page API LootSlot to API LootSlot without leaving a redirect) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} | |||
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 [[API ConfirmLootSlot|ConfirmLootSlot]] is needed. | |||
LootSlot(slot) | |||
[[ | |||
== Parameters == | |||
=== Arguments === | |||
:(slot) | |||
:;slot : number - the loot slot. | |||
=== Returns === | |||
:unknown | |||
== Example == | |||
<!-- If it helps, include an example here, though it's not required if the usage is self-explanatory --> | |||
LootSlot(1) | |||
if slot 1 contains an item that must be confirmed, then | |||
[[API ConfirmLootSlot|ConfirmLootSlot]](1) | |||
must be called after. | |||
====Result==== | |||
<!-- If it helps, include example results here, though they are not required--> | |||
:This function is called whenever a LootButton is clicked (or auto looted). | |||
==Details== | |||
<!-- Details not appropriate for the main description can go here --> | |||
---- | |||
__NOTOC__ |
Latest revision as of 04:46, 15 August 2023
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).