WoW:Events/T: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page Events/T to Events/T without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>__NOTOC__{{eventlistheader}}</noinclude>


|}
===== =====
{|
{{evt|TABARD_CANSAVE_CHANGED|Misc}}
Fired when it is possible to save a tabard.
{{evt|TABARD_SAVE_PENDING|Misc}}
{{evt|TAXIMAP_CLOSED|Misc}}
Fired when the taxi frame is closed.
{{evt|TAXIMAP_OPENED|Misc}}
Fired when the taxi viewer is opened.
Note that this will fire even if you know no flight paths connected to the one you're at, so the map doesn't actually open.
|}
===== =====
{|
{{evt|TALENTS_INVOLUNTARILY_RESET|Player,Talents}}
?
{{evt|TIME_PLAYED_MSG|Player,System,Communication}}
Fired when the client received a time played message.
; arg1 : Total time played in minutes
; arg2 : Current time at this level in minutes
{{evt|TRACKED_ACHIEVEMENT_UPDATE|Achievements}}
Fired when a timed event for an achievement begins or ends. The achievement does not have to be actively tracked for this to trigger.
; arg1 : achievmentID
; arg2 : criteriaID
; arg3 : Actual time
, arg4 : Time limit
{{evt|TRADE_ACCEPT_UPDATE|Trade}}
Fired when the status of the player and target accept buttons has changed. Target agree status only shown when he has done it first. By this, player and target agree status is only shown together (arg1 == 1 and arg2 == 1), when player agreed after target.
; arg1 : Player has agreed to the trade (1) or not (0)
; arg2 : Target has agreed to the trade (1) or not (0)
{{evt|TRADE_CLOSED|Trade}}
Fired when the trade window is closed by the trade being accepted, or the player or target closes the window.
|}
===== =====
{|
{{evt|TRADE_CURRENCY_CHANGED}}
?
{{evt|TRADE_MONEY_CHANGED|Trade}}
Fired when the trade window's money value is changed.
{{evt|TRADE_PLAYER_ITEM_CHANGED|Trade}}
Fired when an item in the target's trade window is changed (items added or removed from trade). First call not fired when start trading by dropping item on target.
; arg1 : index of the trade slot changed
{{evt|TRADE_POTENTIAL_BIND_ENCHANT|Trade}}
?
{{evt|TRADE_REPLACE_ENCHANT|Trade}}
Fired when the player must confirm an enchantment replacement in the trade window.
; arg1 : new enchantment
; arg2 : current enchantment
|}
===== =====
{|
{{evt|TRADE_REQUEST|Trade}}
''It appears that this event was removed from the game. It was once used to ask you if you wanted to accept or reject a trade. It no longer triggers, not even when "Block Trades" is enabled.''
Fired when another player wishes to trade with you.
; arg1 : player name
{{evt|TRADE_REQUEST_CANCEL|Trade}}
Fired when a trade attempt is cancelled. Fired after TRADE_CLOSE when aborted by player, before TRADE_CLOSE when done by target.
Upon a trade being cancelled (as in, either part clicking the cancel button), TRADE_CLOSE is fired twice, and then TRADE_REQUEST_CANCEL once.
|}
===== =====
{|
{{evt|TRADE_SHOW|Trade}}
Fired when the Trade window appears after a trade request has been accepted or auto-accepted
{{evt|TRADE_SKILL_FILTER_UPDATE|Tradeskill}}
?
{{evt|TRADE_SKILL_CLOSE|Tradeskill}}
Fired when a trade skill window is closed.
{{evt|TRADE_SKILL_SHOW|Tradeskill}}
Fired when a trade skill window is opened.
|}
===== =====
{|
{{evt|TRADE_SKILL_UPDATE|Tradeskill}}
Fired immediately after TRADE_SKILL_SHOW, after something is created via tradeskill, or anytime the tradeskill window is updated (filtered, tree folded/unfolded, etc.)
{{evt|TRADE_TARGET_ITEM_CHANGED|Trade}}
Fired when an item in the target's trade window is changed (items added or removed from trade).
; arg1 : index of the trade slot changed
{{evt|TRADE_UPDATE|Trade}}
Fired when the trade window is changed.
|}
===== =====
{|
{{evt|TRAINER_CLOSED|Trainer}}
Fired when the trainer is closed.
{{evt|TRAINER_DESCRIPTION_UPDATE|Trainer}}
?
{{evt|TRAINER_SHOW|Trainer}}
Fired when the class trainer frame is shown.
{{evt|TRAINER_UPDATE|Trainer}}
Fired when the trainer window needs to update.
{{evt|TUTORIAL_TRIGGER|Misc}}
Fired when the tutorial/tips are shown. Will not fire if tutorials are turned off.

Latest revision as of 04:48, 15 August 2023

Event API


[edit]
"TABARD_CANSAVE_CHANGED"
Category: Misc
 

Fired when it is possible to save a tabard.


"TABARD_SAVE_PENDING"
Category: Misc
 


"TAXIMAP_CLOSED"
Category: Misc
 

Fired when the taxi frame is closed.


"TAXIMAP_OPENED"
Category: Misc
 

Fired when the taxi viewer is opened. Note that this will fire even if you know no flight paths connected to the one you're at, so the map doesn't actually open.


[edit]
"TALENTS_INVOLUNTARILY_RESET"
Category: Player,Talents
 

?

"TIME_PLAYED_MSG"
Category: Player,System,Communication
 

Fired when the client received a time played message.

arg1
Total time played in minutes
arg2
Current time at this level in minutes


"TRACKED_ACHIEVEMENT_UPDATE"
Category: Achievements
 

Fired when a timed event for an achievement begins or ends. The achievement does not have to be actively tracked for this to trigger.

arg1
achievmentID
arg2
criteriaID
arg3
Actual time

, arg4 : Time limit


"TRADE_ACCEPT_UPDATE"
Category: Trade
 

Fired when the status of the player and target accept buttons has changed. Target agree status only shown when he has done it first. By this, player and target agree status is only shown together (arg1 == 1 and arg2 == 1), when player agreed after target.

arg1
Player has agreed to the trade (1) or not (0)
arg2
Target has agreed to the trade (1) or not (0)


"TRADE_CLOSED"
Category: Trade
 

Fired when the trade window is closed by the trade being accepted, or the player or target closes the window.

[edit]
"TRADE_CURRENCY_CHANGED"
Category: {{{2}}}
 

?

"TRADE_MONEY_CHANGED"
Category: Trade
 

Fired when the trade window's money value is changed.


"TRADE_PLAYER_ITEM_CHANGED"
Category: Trade
 

Fired when an item in the target's trade window is changed (items added or removed from trade). First call not fired when start trading by dropping item on target.

arg1
index of the trade slot changed
"TRADE_POTENTIAL_BIND_ENCHANT"
Category: Trade
 

?

"TRADE_REPLACE_ENCHANT"
Category: Trade
 

Fired when the player must confirm an enchantment replacement in the trade window.

arg1
new enchantment
arg2
current enchantment


[edit]
"TRADE_REQUEST"
Category: Trade
 

It appears that this event was removed from the game. It was once used to ask you if you wanted to accept or reject a trade. It no longer triggers, not even when "Block Trades" is enabled.

Fired when another player wishes to trade with you.

arg1
player name


"TRADE_REQUEST_CANCEL"
Category: Trade
 

Fired when a trade attempt is cancelled. Fired after TRADE_CLOSE when aborted by player, before TRADE_CLOSE when done by target.

Upon a trade being cancelled (as in, either part clicking the cancel button), TRADE_CLOSE is fired twice, and then TRADE_REQUEST_CANCEL once.

[edit]
"TRADE_SHOW"
Category: Trade
 

Fired when the Trade window appears after a trade request has been accepted or auto-accepted

"TRADE_SKILL_FILTER_UPDATE"
Category: Tradeskill
 

?

"TRADE_SKILL_CLOSE"
Category: Tradeskill
 

Fired when a trade skill window is closed.


"TRADE_SKILL_SHOW"
Category: Tradeskill
 

Fired when a trade skill window is opened.


[edit]
"TRADE_SKILL_UPDATE"
Category: Tradeskill
 

Fired immediately after TRADE_SKILL_SHOW, after something is created via tradeskill, or anytime the tradeskill window is updated (filtered, tree folded/unfolded, etc.)


"TRADE_TARGET_ITEM_CHANGED"
Category: Trade
 

Fired when an item in the target's trade window is changed (items added or removed from trade).

arg1
index of the trade slot changed


"TRADE_UPDATE"
Category: Trade
 

Fired when the trade window is changed.


[edit]
"TRAINER_CLOSED"
Category: Trainer
 

Fired when the trainer is closed.

"TRAINER_DESCRIPTION_UPDATE"
Category: Trainer
 

?

"TRAINER_SHOW"
Category: Trainer
 

Fired when the class trainer frame is shown.

"TRAINER_UPDATE"
Category: Trainer
 

Fired when the trainer window needs to update.


"TUTORIAL_TRIGGER"
Category: Misc
 

Fired when the tutorial/tips are shown. Will not fire if tutorials are turned off.