WoW:API GetInboxHeaderInfo: Difference between revisions

m
Move page script moved page API GetInboxHeaderInfo to WoW:API GetInboxHeaderInfo without leaving a redirect
(2.3 change, different behaviour of hasItem)
m (Move page script moved page API GetInboxHeaderInfo to WoW:API GetInboxHeaderInfo without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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 : Number - Either the number of attachments or nil if no items are present
:;hasItem : Number - Either the number of attachments or nil if no items are present.  Note that items that have been taken from the mailbox continue to occupy empty slots, but hasItem is the total number of items remaining in the mailbox.  Use ATTACHMENTS_MAX_RECEIVE for the total number of attachments rather than this.
:;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