WoW:Events/V: Difference between revisions

621 bytes added ,  28 March 2010
no edit summary
(Updated VARIABLES_LOADED)
No edit summary
Line 8: Line 8:


Addons should not use this event to check if their addon's saved variables have loaded.  They can use ADDON_LOADED (testing for arg1 being the name of the addon) or another appropriate event to initialize, ensuring that the addon works when loaded on demand.
Addons should not use this event to check if their addon's saved variables have loaded.  They can use ADDON_LOADED (testing for arg1 being the name of the addon) or another appropriate event to initialize, ensuring that the addon works when loaded on demand.
{{evt|VEHICLE_ANGLE_SHOW|Vehicle}}
?
{{evt|VEHICLE_ANGLE_UPDATE|Vehicle}}
?
{{evt|VEHICLE_PASSENGERS_CHANGED|Vehicle}}
?
{{evt|VEHICLE_POWER_SHOW|Vehicle}}
?
{{evt|VEHICLE_UPDATE|Vehicle}}
?
{{evt|VOICE_CHANNEL_STATUS_UPDATE|Voice}}
?


{{evt|VOICE_CHAT_ENABLED_UPDATE|Misc}}
{{evt|VOICE_CHAT_ENABLED_UPDATE|Misc}}
Line 14: Line 32:


{{evt|VOICE_LEFT_SESSION|Misc}}
{{evt|VOICE_LEFT_SESSION|Misc}}
{{evt|VOICE_PLATE_START|Voice}}
?
{{evt|VOICE_PLATE_STOP|Voice}}
?


{{evt|VOICE_PUSH_TO_TALK_START|Misc}}
{{evt|VOICE_PUSH_TO_TALK_START|Misc}}
Line 22: Line 47:


Fired when you release the Push-To-Talk hotkey
Fired when you release the Push-To-Talk hotkey
{{evt|VOICE_SELF_MUTE|Voice}}
?


{{evt|VOICE_SESSIONS_UPDATE|Misc}}
{{evt|VOICE_SESSIONS_UPDATE|Misc}}
Line 35: Line 63:
Fired when someone stops using Voice Chat
Fired when someone stops using Voice Chat
; arg1 : The [[API_TYPE_UnitId|UnitId]] of the person who stopped talking
; arg1 : The [[API_TYPE_UnitId|UnitId]] of the person who stopped talking
{{evt|VOTE_KICK_REASON_NEEDED|Looking for Group}}
Fires when you need to supply a reason for the kick vote you wish to initiate. Use {{api|UninviteUnit}}("name", "reason") to provide the reason.
; arg1 : String - name of the player you wanted to initiate a kick vote for.
|}