WoW:API CheckInbox: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Populate inbox with messages)
 
m (Move page script moved page API CheckInbox to API CheckInbox without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<center>'''CheckInbox()''' ''-Documentation by [[user:Grayswandir|Grayswandir]]-''</center>
{{wowapi}}
 
CheckInbox();
 
Populates client's inbox with messages.
Populates client's inbox with messages.
CheckInbox();


----
==Details==
;''Details''
* This function requires that the mailbox window is open.
 
* After it is called and the inbox populated, the client's stored mailbox information can be accessed from anywhere in the world. That is, functions like {{api|GetInboxHeaderInfo}}() and {{api|GetInboxNumItems}}() may be called from anywhere. Note that only the *stored* information can be accessed -- to get current inbox info, you have to call CheckInbox() again.
After it is called and the inbox populated, the client's stored mailbox information can be accessed from anywhere in the world. That is, functions like GetInboxHeaderInfo() and GetInboxNumItems() may be called from anywhere. Note that only the *stored* information can be accessed--to get current inbox info, you have to call CheckInbox() again.
 
Requires that the mailbox window is open.
 
----
{{Template:WoW API}}
[[Category:API Functions|GetInboxHeaderInfo]]
[[Category:API Mail Functions|GetInboxHeaderInfo]]

Latest revision as of 04:45, 15 August 2023

WoW API < CheckInbox

Populates client's inbox with messages.

CheckInbox();

Details[edit]

  • This function requires that the mailbox window is open.
  • After it is called and the inbox populated, the client's stored mailbox information can be accessed from anywhere in the world. That is, functions like GetInboxHeaderInfo() and GetInboxNumItems() may be called from anywhere. Note that only the *stored* information can be accessed -- to get current inbox info, you have to call CheckInbox() again.