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 === Trading === :HW {{id|API|AcceptTrade}}() - A pending trade will be accepted. :{{id|API|AddTradeMoney}}() - Adds the money dropped into the player's trade frame. :{{id|API|CancelTrade}}() - Declines the offer to trade with the other player. :{{id|API|CancelTradeAccept}}() - Cancels the trade attempt which required an accept. :{{id|API|ClickTargetTradeButton}}(index) :{{id|API|ClickTradeButton}}(index) - Equivalent of a mouseclick on the trade window buttons [1-7] :{{id|API|CloseTrade}}() - Closes the trade. :{{id|API|GetPlayerTradeMoney}} - Returns the amount of money the player has in the trade window. :{{id|API|GetTargetTradeMoney}} - Returns the amount of money in the trade frame of the target player. :{{id|API|GetTradePlayerItemInfo}}(id) - Returns information about a trade item. :{{id|API|GetTradePlayerItemLink}}(id) - Returns an [[itemLink]] for the given item on your side of the trade window, if open. :{{id|API|GetTradeTargetItemInfo}}(id) - Returns information about a trade item. :{{id|API|GetTradeTargetItemLink}}(id) - Returns an [[itemLink]] for the given item on the other player's side of the trade window, if open. :{{id|API|InitiateTrade}}(UnitId) - Asks the specified unit to trade. :{{id|API|PickupPlayerMoney}}(copper) - Picks up an amount of money from the player. :{{id|API|PickupTradeMoney}}(copper) - Picks up an amount of money from the player's trade offer. :{{id|API|SetTradeMoney}}(copper) - Sets the amount of money offered as part of the player's trade offer. :{{id|API|ReplaceTradeEnchant}}() - Confirm the replacement of an enchantment via trade. 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