added isGM value, fixed a minor line break issue with long snippet
({{wowapi}}, format) |
(added isGM value, fixed a minor line break issue with long snippet) |
||
| Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
Returns information about an item in the mailbox. | Returns information about an item in the mailbox. | ||
packageIcon, stationeryIcon, sender, subject, money, CODAmount, daysLeft, hasItem, wasRead, wasReturned, textCreated, canReply = GetInboxHeaderInfo(index); | packageIcon, stationeryIcon, sender, subject, money, CODAmount, daysLeft, hasItem, wasRead, wasReturned, | ||
textCreated, canReply, isGM = GetInboxHeaderInfo(index); | |||
==Parameters== | ==Parameters== | ||
| Line 19: | Line 20: | ||
:;textCreated : Flag - 1 if a letter object has been created from this mail, nil otherwise | :;textCreated : Flag - 1 if a letter object has been created from this mail, nil otherwise | ||
:;canReply : Flag - 1 if this letter can be replied to, nil otherwise | :;canReply : Flag - 1 if this letter can be replied to, nil otherwise | ||
:;isGM : Flag - 1 if this letter was sent by a GameMaster | |||
==Example== | ==Example== | ||