WoW:Events/M

From AddOn Studio
< Events
Revision as of 04:48, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page Events/M to Events/M without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Event API


"MACRO_ACTION_BLOCKED"
Category: System
 

(this event doesn't seem to be used anymore, use MACRO_ACTION_FORBIDDEN)

"MACRO_ACTION_FORBIDDEN"
Category: System
 

Sent when a macro tries use actions that are always forbidden (movement, targeting, etc.).

arg1
As of 3.0.2 (possibly sooner) this argument appears to always be "UNKNOWN()"
"MAIL_CLOSED"
Category: Mail
 

Fired when the mailbox window is closed.

"MAIL_FAILED"
Category: Mail
 
"MAIL_INBOX_UPDATE"
Category: Mail
 

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
"MAIL_LOCK_SEND_ITEMS"
Category: Mail
 

Fired when you send an item that needs a confirmation (e.g. heirlooms that are still refundable)

arg1
Mail Slot
arg2
itemLink
"MAIL_SEND_INFO_UPDATE"
Category: Mail
 

Fired when an item is dragged to or from the Send Item box in an outgoing mail message.

"MAIL_SUCCESS"
Category: Mail
 

?

"MAIL_UNLOCK_SEND_ITEMS"
Category: Mail
 

Fires when the mail confirmation is cancelled and the concerned item(s) need to be unlocked

"MAIL_SEND_SUCCESS"
Category: Mail
 

Fired when a mail has been successfully sent to the mailbox of the recipient, it is also called when the mailbox is opened for some reason ... bug?


"MAIL_SHOW"
Category: Mail
 

Fired when the mailbox is first opened.

arg1
returns "up"


"MERCHANT_CLOSED"
Category: Misc
 

Fired when a merchant frame closes. (Called twice)

arg1
button used to close the window)
"MERCHANT_SHOW"
Category: Misc
 

Fired when the merchant frame is shown.


"MERCHANT_UPDATE"
Category: Misc
 

Fired when a merchant updates

"MINIGAME_UPDATE"
Category: Misc
 

?

"MINIMAP_PING"
Category: Map
 

Fired when the minimap is pinged.

arg1
UnitId of the one that created the ping (ie "player" or any of the group members)
arg2
x
arg3
y


"MINIMAP_UPDATE_ZOOM"
Category: Map
 

Fired when the minimap scaling factor is changed. This happens, generally, whenever the player moves indoors from outside, or vice versa. There are no arguments to this event. To test the player's location, compare the minimapZoom and minimapInsideZoom CVars with the current minimap zoom level (see GetZoom).

This event does not relate to the + and - minimap zoom buttons.


"MINIMAP_UPDATE_TRACKING"
Category: Map
 

Added in 2.3, this event is fired when the player selects a different tracking type from the menu attached to the mini map. There seems to be no useful arguments as of the time of this writing.

arg1
Mouse button used to click the tracking button (i.e. "LEFTBUTTON")


"MIRROR_TIMER_PAUSE"
Category: Misc
 

Fired when the mirror timer is paused.

arg1
pause duration
"MIRROR_TIMER_START"
Category: Misc
 

Fired when some sort of timer starts.

arg1
timer ( for ex. "BREATH" )
arg2
value ( start-time in ms, for ex. 180000 )
arg3
maxvalue ( max-time in ms, for ex. 180000 )
arg4
scale ( time added per second in seconds, for ex. -1 )
arg5
paused
arg6
label ( for ex. "Breath" )


"MIRROR_TIMER_STOP"
Category: Misc
 

Fired when a mirror timer is stopped.

arg1
timer ( for ex. "BREATH" )


"MODIFIER_STATE_CHANGED"
Category: Misc
 

Fired when shift/ctrl/alt keys are pressed or released. Does not fire when an EditBox has keyboard focus.

arg1
"LSHIFT", "RSHIFT", "LCTRL", "RCTRL", "LALT", "RALT"
arg2
1 for pressed, 0 (not nil!) for released
"MOVIE_COMPRESSING_PROGRESS"
Category: Movie Capture
 

?

"MOVIE_RECORDING_PROGRESS"
Category: Movie Capture
 

?

"MOVIE_UNCOMPRESSED_MOVIE"
Category: Movie Capture
 

?

"MUTELIST_UPDATE"
Category: Communication
 

?