Anticrash-gpuser (talk | contribs) No edit summary |
(Corrected the page to explain what this function actually does) |
||
Line 1: | Line 1: | ||
+ | <center>'''LootSlot''' ''-Documentation by [[user:jbcc|Esamynn]]-''</center> |
||
− | Appears to be Broken? Or Disabled |
||
+ | After a Bind on Pickup item has been looted via a LootButton, this function needs to be called to confirm that the player wants to loot the item. |
||
+ | LootSlot(slot) |
||
+ | |||
+ | == Parameters == |
||
+ | === Arguments === |
||
+ | |||
+ | :(slot) |
||
+ | |||
+ | :;slot : number - the loot slot of a BoP loot item that is waiting for confirmation |
||
+ | |||
+ | === Returns === |
||
+ | |||
+ | :nil |
||
+ | |||
+ | == Example == |
||
+ | <!-- If it helps, include an example here, though it's not required if the usage is self-explanatory --> |
||
+ | LootSlot(1) |
||
+ | ====Result==== |
||
+ | <!-- If it helps, include example results here, though they are not required--> |
||
+ | If the player has already clicked on a LootButton object with loot index 1, and the item is "Bind on Pickup" and awaiting confirmation, then the item will be looted and placed in the player's bags. |
||
+ | |||
+ | ==Details== |
||
+ | <!-- Details not appropriate for the main description can go here --> |
||
+ | |||
+ | : |
||
+ | |||
+ | ---- |
||
+ | __NOTOC__ |
||
{{Template:WoW API}} |
{{Template:WoW API}} |
Revision as of 21:49, 11 May 2006
After a Bind on Pickup item has been looted via a LootButton, this function needs to be called to confirm that the player wants to loot the item.
LootSlot(slot)
Parameters
Arguments
- (slot)
- slot
- number - the loot slot of a BoP loot item that is waiting for confirmation
Returns
- nil
Example
LootSlot(1)
Result
If the player has already clicked on a LootButton object with loot index 1, and the item is "Bind on Pickup" and awaiting confirmation, then the item will be looted and placed in the player's bags.
Details
Template:WoW API