Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:World of Warcraft API
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Loot === Automatic looting behavior is controlled by [[CVar autoLootDefault|autoLootDefalt]] [[CVar]]. :{{id|API|CloseLoot}}([uiFailedFlag]) :PROTECTED {{id|API|ConfirmBindOnUse}}() :{{id|API|ConfirmLootRoll}}(rollId[, roll]) - Confirm a loot roll (added 1300) :{{id|API|ConfirmLootSlot}}(slot) - Confirm looting of a BoP item. :{{id|API|GetLootMethod}}() - Return the currently active [[lootMethod]] :{{id|API|GetLootRollItemInfo}}(rollId) :{{id|API|GetLootRollItemLink}}(rollId) :{{id|API|GetLootRollTimeLeft}}(rollid) :{{id|API|GetLootSlotInfo}}(slot) - Returns icon path, item name, and item quantity for the item in the given loot window slot :{{id|API|GetLootSlotLink}}(slot) - Returns an [[itemLink]] for the item in the given loot window slot :{{id|API|GetLootThreshold}}() - Return the current loot threshold (for group/master loot) :{{id|API|GetMasterLootCandidate}}(index) - Return the name of a player who is eligible to receive loot in master mode :{{id|API|GetNumLootItems}}() - Returns amount of objects to loot (number) :{{id|API|GetOptOutOfLoot}}() - Return whether the character is currently automatically passing on all loot. :{{id|API|GiveMasterLoot}}(slot,index) :{{id|API|IsFishingLoot}}() :{{id|API|LootSlot}}(slot) - Used to loot the specified slot. :{{id|API|LootSlotIsCoin}}(slot) - Returns 1 if the given loot window slot contains coins (copper, silver, gold) :{{id|API|LootSlotIsCurrency}}(slot) - Returns 1 if the given loot window slot contains a form of currency (archaeology fragments) :{{id|API|LootSlotHasItem}}(slot) :RENAMED {{id|API|LootSlotIsItem}}(slot) (renamed to LootSlotHasItem 5.0.2) :{{id|API|RollOnLoot}}(rollId[, roll]) - Roll or pass on a loot event started by the game engine. :{{id|API|SetLootMethod}}("[[lootMethod]]"[, "masterPlayer" or threshold]) - Set the current loot method. :{{id|API|SetLootPortrait}}() :{{id|API|SetLootThreshold}}([[itemQuality]]) - Set the threshold for group/master loot. :{{id|API|SetOptOutOfLoot}}(optOut) - Enables or disables automatic passing on all loot.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)