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 === TradeSkill === :{{id|API|CloseTradeSkill}}() - Closes an open trade skill window. :{{id|API|CollapseTradeSkillSubClass}}(index) - Collapses the specified subclass header row. :{{id|API|DoTradeSkill}}(index[, repeatTimes]) - Performs the tradeskill a specified # of times. :{{id|API|ExpandTradeSkillSubClass}}(index) - Expands the specified subclass header row. :{{id|API|GetFirstTradeSkill}}() - Returns the index of the first non-header trade skill entry. :{{id|API|GetNumTradeSkills}}() - Get the number of trade skill entries (including headers). :{{id|API|GetTradeSkillCooldown}}(index) - Returns the number of seconds left for a skill to cooldown. :{{id|API|GetTradeSkillDescription}}(index) - Returns the description text of the indicated trade skill. :{{id|API|GetTradeSkillIcon}}(index) - Returns the texture name of a tradeskill's icon. :{{id|API|GetTradeSkillInfo}}(index) - Retrieves information about a specific trade skill. :{{id|API|GetTradeSkillInvSlotFilter}}(slotIndex) - Returns 1 if items corresponding to slotIndex are currently visible, otherwise nil. :{{id|API|GetTradeSkillInvSlots}}() - Returns a list of the available inventory slot types. :{{id|API|GetTradeSkillItemLink}}(index) - Returns the [[itemLink]] for a trade skill item. :{{id|API|GetTradeSkillLine}}() - Returns information about the selected skill line. :{{id|API|GetTradeSkillListLink}}() - Returns the [[TradeSkillLink]] for a trade skill. :{{id|API|GetTradeSkillNumMade}}(index) - Gets the number of items made in a single use of a skill. :{{id|API|GetTradeSkillNumReagents}}(tradeSkillRecipeId) - Returns the number of different reagents required. :{{id|API|GetTradeSkillReagentInfo}}(tradeSkillRecipeId, reagentId) - Returns data on the reagent, including a count of the player's inventory. :{{id|API|GetTradeSkillReagentItemLink}}(index, reagentId) - Returns the [[itemLink]] for one of the reagents needed to craft the given item :{{id|API|GetTradeSkillRecipeLink}}(index) - Returns the [[EnchantLink]] for a trade skill. :{{id|API|GetTradeSkillSelectionIndex}}() - Returns the Id of the currently selected trade skill, 0 if none selected. :{{id|API|GetTradeSkillSubClassFilter}}(filterIndex) - Returns 1 if items corresponding to filterIndex are currently visible, otherwise nil. :{{id|API|GetTradeSkillSubClasses}}() - Returns a list of the valid subclasses. :{{id|API|GetTradeSkillTools}}(index) - Returns information about the tools needed for a tradeskill. :{{id|API|GetTradeskillRepeatCount}}() - Returns the number of times the current item is being crafted. :{{id|API|IsTradeskillTrainer}}() - Returns 1 if trainer is for a tradeskill. :{{id|API|IsTradeSkillLinked}}() - Returns true if you're inspecting a tradeskill link rather then looking at your own tradeskills :{{id|API|SelectTradeSkill}}(index) - Select a specific trade skill in the list. :{{id|API|SetTradeSkillInvSlotFilter}}(slotIndex, onOff[, exclusive] ) - Set the inventory slot type filter. :{{id|API|SetTradeSkillSubClassFilter}}(slotIndex, onOff[, exclusive] ) - Set the subclass filter. :{{id|API|StopTradeSkillRepeat}}() - Stops creating additional queued items. :{{id|API|TradeSkillOnlyShowMakeable}}(onlyMakable) - Controls whether only recipes you have the reagents to craft are shown. 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