Returns information for an item attached to a mail in the player's inbox
See also Mail functions.
Signature:
name, itemTexture, count, quality, canUse = GetInboxItem(mailID, attachmentIndex)
Arguments:
mailID- Index of a mail in the player's inbox (between 1 andGetInboxNumItems()) (number)attachmentIndex- Index of an attachment to the message (between 1 andATTACHMENTS_MAX_RECEIVE) (number)
Returns:
name- Name of the item (string)itemTexture- Path to an icon texture for the item (string)count- Number of stacked items (number)quality- Quality (rarity) of the item (number, itemQuality)canUse- 1 if the player can use or equip the item; otherwise nil (1nil)