WoW:API GetInboxHeaderInfo: Difference between revisions

2.3 change, different behaviour of hasItem
(2.3 change, different behaviour of hasItem)
Line 15: Line 15:
:;CODAmount : Number - The amount of COD payment required to receive the package
:;CODAmount : Number - The amount of COD payment required to receive the package
:;daysLeft : Number - The number of days (fractional) before the message expires
:;daysLeft : Number - The number of days (fractional) before the message expires
:;hasItem : Flag - 1 if the mail still has an item in it, nil otherwise
:;hasItem : Number - Either the number of attachments or nil if no items are present
:;wasRead : Flag - 1 if the mail has been read, nil otherwise.  Using [[API GetInboxText|GetInboxText]]() marks an item as read.
:;wasRead : Flag - 1 if the mail has been read, nil otherwise.  Using [[API GetInboxText|GetInboxText]]() marks an item as read.
:;wasReturned : Flag - 1 if the mail was returned, nil otherwise
:;wasReturned : Flag - 1 if the mail was returned, nil otherwise
Anonymous user