Wikia

WoWWiki

Watchlist Recent changes

API GetInboxNumItems

Main Menue



numItems, totalItems = GetInboxNumItems()

Reports the number of messages in the client's inbox.

Example Edit

if ( totalItems > numItems) then
 InboxTooMuchMail:Show();
else
  InboxTooMuchMail:Hide();
end 

Details Edit

Uppdated with totalItems in Patch 3.2

After CheckInbox() is called and the inbox populated, this function will report the number of items in the user's inbox.

Ensure that the MAIL_INBOX_UPDATE event has been fired before accessing this function, or it will return 0 numItems.

You access items in the inbox using GetInboxHeaderInfo().

FIXME - Requires that the mailbox window is open?
FIXME - Sample code showing use of the mail when at the mailbox or out in the world.

Pages on WoWWiki

94,145pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,609photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki