WoW:API GetSendMailItem: Difference between revisions

m
Move page script moved page API GetSendMailItem to WoW:API GetSendMailItem without leaving a redirect
No edit summary
 
m (Move page script moved page API GetSendMailItem to WoW:API GetSendMailItem without leaving a redirect)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
itemtext = GetSendMailItem();
{{wowapi}} __NOTOC__


Get the description of the item attached on the send mail frame.
Get information about the item attached on the send mail frame.


Requires that the mailbox window is open.
Name, Texture, Count, Quality = GetSendMailItem(index)


----
''Returns''


Text description of the attached item (on the send mail frame).
== Parameters ==
:;index : Int - The index of the send mail item (1-12)
 
=== Returns ===
:Name, Texture, Count, Quality
 
:;Name : String - Name of the item
:;Texture : String - The texture used for the item
:;Count : Int - The number of items in the stack
:;Quality : Int - Quality index of the item (0-6)
 
==Details==
: Requires that the mailbox window is open.
: As of 2.3.3 this function is bugged and the quality is always set to -1.
Anonymous user