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 === Training === :{{id|API|BuyTrainerService}}(index) - Used for buying new/upgrading professions, profession items and class skills. :{{id|API|CloseTrainer}}() - Closes the trainer window. :{{id|API|GetNumTrainerServices}}() - Get the number of the trainer services. :{{id|API|GetTrainerGreetingText}}() - Get the trainer's greeting text. :{{id|API|GetTrainerSelectionIndex}}() - Get the index of the selected trainer service. :{{id|API|GetTrainerServiceAbilityReq}}(trainerIndex,reqIndex) - Used for displaying the requirements to learn a new profession, profession skill or class skill. :{{id|API|GetTrainerServiceCost}}(index) - Returns the cost of a specific trainer service. :{{id|API|GetTrainerServiceDescription}}(index) - Returns the description of a specific trainer service. :{{id|API|GetTrainerServiceIcon}}(index) - Returns icon texture for a trainer service. :{{id|API|GetTrainerServiceInfo}}(index) - Returns information about a trainer service. :{{id|API|GetTrainerServiceItemLink}}(index) - Returns an item link for a trainer service. :{{id|API|GetTrainerServiceLevelReq}}(index) - Get the required level to learn the skill. :{{id|API|GetTrainerServiceNumAbilityReq}} - Get the maximum number of requirements that [[#GetTrainerServiceAbilityReq]]() has. :{{id|API|GetTrainerServiceSkillLine}}(index) :{{id|API|GetTrainerServiceSkillReq}}(index) - Returns a String and Variable for the requirements of a specific trainer service. :{{id|API|GetTrainerServiceTypeFilter}}("filter") - Returns the status of a skill filter in the trainer window. :{{id|API|IsTradeskillTrainer}}() - Returns 1 if trainer is for a tradeskill. :{{id|API|OpenTrainer}}() :{{id|API|SelectTrainerService}}() :{{id|API|SetTrainerServiceTypeFilter}}("filter",state) - Sets the status of a skill filter in the trainer window. 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