m
Move page script moved page API GetInboxNumItems to WoW:API GetInboxNumItems without leaving a redirect
(Uppdated with an Example and Changes in 3.2) |
m (Move page script moved page API GetInboxNumItems to WoW:API GetInboxNumItems without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 19: | Line 19: | ||
After [[API_CheckInbox|CheckInbox()]] is called and the inbox populated, this function will report the number of items in the user's inbox. | After [[API_CheckInbox|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 [[API_GetInboxHeaderInfo|GetInboxHeaderInfo()]]. | You access items in the inbox using [[API_GetInboxHeaderInfo|GetInboxHeaderInfo()]]. | ||