WoW:API GetSendMailItem: Difference between revisions
Jump to navigation
Jump to search
(added more return values and updated to new template.) |
m (Move page script moved page API GetSendMailItem to API GetSendMailItem without leaving a redirect) |
||
(3 intermediate revisions by 3 users not shown) | |||
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(index) | |||
== Parameters == | == Parameters == | ||
:;index : Int - The index of the send mail item (1-12) | |||
=== Returns === | === 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== | ==Details== | ||
: Requires that the mailbox window is open. | |||
Requires that the mailbox window is open. | : As of 2.3.3 this function is bugged and the quality is always set to -1. |
Latest revision as of 04:46, 15 August 2023
Get information about the item attached on the send mail frame.
Name, Texture, Count, Quality = GetSendMailItem(index)
Parameters[edit]
- index
- Int - The index of the send mail item (1-12)
Returns[edit]
- 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[edit]
- Requires that the mailbox window is open.
- As of 2.3.3 this function is bugged and the quality is always set to -1.