WoW:API GetSendMailItem: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Added return value)
No edit summary
Line 3: Line 3:
Get information about the item attached on the send mail frame.
Get information about the item attached on the send mail frame.


  Name, Texture, Count, Quality = GetSendMailItem()
  Name, Texture, Count, Quality = GetSendMailItem(index)




== Parameters ==
== Parameters ==
:;index : Int - The index of the send mail item (1-12)
=== Returns ===
=== Returns ===
:Name, Texture, Count, Quality
:Name, Texture, Count, Quality

Revision as of 07:06, 7 February 2008

WoW API < GetSendMailItem

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

Name, Texture, Count, Quality = GetSendMailItem(index)


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.