<?xml version="1.0" encoding="UTF-8"?> <WoWAPI xmlns="http://www.cheeseplant.org/WoW/APIDoc">
<functionDoc> <name>GetInboxItem</name>
<author> <userLink>Flickering</userLink> </author>
<summary>Retrieve details about an item from a mail.</summary>
<signature> <sigreturn>name</sigreturn> <sigreturn>itemTexture</sigreturn> <sigreturn>count</sigreturn> <sigreturn>quality</sigreturn> <sigreturn>canUse</sigreturn> <sigarg>index</sigarg> </signature>
<arguments> <argument> <name>index</name> <type>Integer</type> <description>
The index of the message to get information from.
</description> </argument> </arguments>
<returns> <return>
<name>name</name> <type>String</type> <description> The display name/label for the item. </description>
</return>
<return>
<name>itemTexture</name> <type>String</type> <description> The path for the texture to display for the item. </description>
</return>
<return>
<name>count</name> <type>Integer</type> <description> How many of the item are available in the mail (I believe 0 means that the item has been retrieved) </description>
</return>
<return>
<name>quality</name> <type>Integer</type> <description> Item quality index. </description>
</return>
<return>
<name>canUse</name> <type>Flag</type> <description> Indicates if the player can use the item, 1 if they can use it, or nil if not. </description>
</return> </returns> </functionDoc>
</WoWAPI>