AddOn Stud… Editing (section) World of Warcraft API 0 You are not logged in. The rich text editor does not work with JavaScript switched off. Please either enable it in your browser options, or visit your preferences to switch to the old MediaWiki editor === 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. Loading editor Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above. Insert: – — … ° ≈ ≠ ≤ ≥ ± − × ÷ ← → · § Sign your username: ~~~~ Wiki markup: {{}} | [] [[]] [[Category:]] #REDIRECT [[]] <s></s> <sup></sup> <sub></sub> <code></code> <blockquote></blockquote> <ref></ref> {{Reflist}} <references/> <includeonly></includeonly> <noinclude></noinclude> {{DEFAULTSORT:}} <nowiki></nowiki> <!-- --> <span class="plainlinks"></span> Symbols: ~ | ¡ ¿ † ‡ ↔ ↑ ↓ • ¶ # ¹ ² ³ ½ ⅓ ⅔ ¼ ¾ ⅛ ⅜ ⅝ ⅞ ∞ ‘ “ ’ ” «» ¤ ₳ ฿ ₵ ¢ ₡ ₢ $ ₫ ₯ € ₠ ₣ ƒ ₴ ₭ ₤ ℳ ₥ ₦ № ₧ ₰ £ ៛ ₨ ₪ ৳ ₮ ₩ ¥ ♠ ♣ ♥ ♦ View this template This field is a spam trap. DO NOT fill it in! Edit summary Preview Mobile Desktop Show changes