WoW:Events/Mail: Difference between revisions

m
automated upload
m (added links for getsenmailcod)
m (automated upload)
Line 27: Line 27:
{{evt|MAIL_INBOX_UPDATE|Mail}}
{{evt|MAIL_INBOX_UPDATE|Mail}}


Fired when the opened inbox changes in any way, including when the inbox list is loaded after the frame has been opened, or when a mail item changes from new to read, or when a mail item is opened for the first time in a session. Passes arg1 as mouse button clicked when opening a mail item; otherwise arg1 is nil.
This event is fired when the inbox changes in any way, including
* when the inbox list is loaded while the frame is open
* when a mail item changes from new to read
* when a mail item is opened for the first time in a session
 
; arg1 : the mouse button clicked when opening a mail item; otherwise arg1 is nil.
; arg2 : always false
 
 
{{evt|MAIL_LOCK_SEND_ITEMS|Mail}}
 
Fired when you send an item that needs a confirmation (e.g. [http://www.wowwiki.com/Heirloom heirlooms] that are still refundable)
; arg1: Mail Slot
; arg2: itemLink




Line 33: Line 46:


Fired when an item is dragged to or from the Send Item box in an outgoing mail message.
Fired when an item is dragged to or from the Send Item box in an outgoing mail message.
{{evt|MAIL_SUCCESS|Mail}}
?
{{evt|MAIL_UNLOCK_SEND_ITEMS|Mail}}
Fires when the mail confirmation is cancelled and the concerned item(s) need to be unlocked




Line 42: Line 65:
{{evt|MAIL_SHOW|Mail}}
{{evt|MAIL_SHOW|Mail}}


Fired when a specific mail in the mailbox is opened.
Fired when the mailbox is first opened.
; arg1 : returns "up"




{{evt|SEND_MAIL_COD_CHANGED|Mail}}
{{evt|SEND_MAIL_COD_CHANGED|Mail}}


For me it seems to get called once when you start editing the box. ([[API GetSendMailCOD|GetSendMailCOD]]() returns 0)
 
When you sent the mail it gets called several times. ([[API GetSendMailCOD|GetSendMailCOD]]() returns correct amount)




Anonymous user