Returns whether a mail can be reported as spam. Returns nil for messages from Game Masters or friends, as well as for messages generated by the game itself (Auction House mail, mails from NPCs, etc).
As with most mail functions, only provides valid information if used while the mail UI is open (between the MAIL_SHOW
and MAIL_CLOSE
events).
See also Complaint functions, Mail functions.
Signature:
complain
=
CanComplainInboxItem(mailID)
Arguments:
mailID
- Index of a mail in the player's inbox (between 1 andGetInboxNumItems()
) (number
)
Returns:
complain
- 1 if the mail can be reported as spam; otherwise nil (1nil
)