Events/Player
From WoWWiki
| |||||||||||||||||||||
|
Player related events |
"CANCEL_SUMMON"
| Category: Player |
|
|
"CHARACTER_POINTS_CHANGED"
| Category: Player |
|
Fired when the player's available talent points change
|
"CHAT_MSG_COMBAT_XP_GAIN"
| Category: Player |
|
Fired when you gain XP from killing a creature or finishing a quest. Does not fire if you gain no xp from killing a creature.
|
"CHAT_MSG_SKILL"
| Category: Player,Skill |
|
Fired when some chat messages about skills are displayed.
arg1 formats are found in Blizzard's GlobalStrings.lua. Some possibilities:
|
"COMBAT_RATING_UPDATE"
| Category: Player |
|
|
"PLAYER_CAMPING"
| Category: Player |
|
Fired when the player is camping
|
"PLAYER_COMBO_POINTS"
| Category: Player,Combat |
|
Removed as of 3.02. Use UNIT_COMBO_POINTS instead. Fired when your combo points change.
Use the GetComboPoints() API to get the exact number of combo points you have. Note: This event fires for Warriors at seemingly random times.
|
"PLAYER_CONTROL_GAINED"
| Category: Player,Combat |
|
Fires after the PLAYER_CONTROL_LOST event, when control has been restored to the player.
|
"PLAYER_CONTROL_LOST"
| Category: Player,Combat |
|
Fires whenever the player is unable to control the character. Examples are when afflicted by fear, mind controlled, or when using a taxi.
|
"PLAYER_FARSIGHT_FOCUS_CHANGED"
| Category: Player,Spell |
|
|
"PLAYER_FLAGS_CHANGED"
| Category: Player,Communication |
|
This event fires when a Unit's flags change (eg: due to /afk, /dnd, etc.)
|
"PLAYER_GUILD_UPDATE"
| Category: Guild,Player |
|
This appears to be fired when a player is gkicked, gquits, etc. Reference handler in FriendsFrame.lua.
|
"PLAYER_LEVEL_UP"
| Category: Player |
|
Fired when a player levels up.
|
"PLAYER_MONEY"
| Category: Player |
|
Fired whenever the player gains or loses money.
|
"PLAYER_PVP_KILLS_CHANGED"
| Category: Player,Honor |
|
Fired when you slay another player
|
"PLAYER_REGEN_DISABLED"
| Category: Player,Combat |
|
Fired whenever you enter combat, as normal regen rates are disabled during combat. This means that either you are in the hate list of a NPC or that you've been taking part in a pvp action (either as attacker or victim).
|
"PLAYER_REGEN_ENABLED"
| Category: Player,Combat |
|
Fired after ending combat, as regen rates return to normal. Useful for determining when a player has left combat. This occurs when you are not on the hate list of any NPC, or a few seconds after the latest pvp attack that you were involved with.
|
"PLAYER_SKINNED"
| Category: Player,Battleground |
|
Fired when the player's insignia is removed in a Battleground.
|
"PLAYER_TALENT_UPDATE"
| Category: Player |
|
Fired when the player changes between dual talent specs, and possibly when learning or unlearning talents (?).
|
"PLAYER_TOTEM_UPDATE"
| Category: Player |
|
This event fires whenever a totem is dropped (cast) or destroyed (either recalled or killed).
|
"PLAYER_UPDATE_RESTING"
| Category: Player |
|
Fired when the player starts or stops resting, i.e. when entering/leaving inns/major towns.
|
"PLAYER_XP_UPDATE"
| Category: Player |
|
Fired when the player's XP is updated (due quest completion or killing).
|
"PLAYTIME_CHANGED"
| Category: Player |
|
Fired when the playtime state changes.
|
"RUNE_POWER_UPDATE"
| Category: Player |
|
New in 3.x. Fired when a rune's state switches from usable to un-usable or visa-versa.
|
"RUNE_TYPE_UPDATE"
| Category: Player |
|
New in 3.x. Fired when a rune's type is changed / updated.
|
"TIME_PLAYED_MSG"
| Category: Player,System,Communication |
|
Fired when the client received a time played message.
|
"UNIT_ENERGY"
| Category: Unit Info,Player |
|
Fired whenever a units energy is affected.
Seen unit names:
|
"UPDATE_EXHAUSTION"
| Category: Player |
|
Fired when your character's XP exhaustion (i.e. the amount of your character's rested bonus) changes. Use GetXPExhaustion() to query the current value.
|
"UPDATE_FACTION"
| Category: Player |
|
Fired when your character's reputation of some faction has changed.
|
"UPDATE_INVENTORY_ALERTS"
| Category: Item,Player |
|
Fires whenever an item's durability status becomes yellow (low) or red (broken). Signals that the durability frame needs to be updated. May also fire on any durability status change, even if that change doesn't require an update to the durability frame.
|
"UPDATE_INVENTORY_DURABILITY"
| Category: Item,Player |
|
Should fire whenever the durability of an item in the character's possession changes. (?) |
