WoW:Events/G: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.)
Line 1: Line 1:
<noinclude>__NOTOC__{{eventlistheader}}</noinclude>


|}
===== =====
{|
{{evt|GLYPH_ADDED|Glyph}}
?
{{evt|GLYPH_DISABLED|Glyph}}
?
{{evt|GLYPH_ENABLED|Glyph}}
?
{{evt|GLYPH_REMOVED|Glyph}}
?
{{evt|GLYPH_UPDATED|Glyph}}
?
{{evt|GMRESPONSE_RECEIVED|Communication}}
?
{{evt|GM_PLAYER_INFO|Misc}}
?
{{evt|GMSURVEY_DISPLAY|Misc}}
{{evt|GOSSIP_CLOSED|Misc}}
Fired when you close the talk window for an npc
:(Seems to be called twice)
; arg1 : The mouse button used to close the window (nil if closed when you go out of range)
{{evt|GOSSIP_CONFIRM|Misc}}
{{evt|GOSSIP_CONFIRM_CANCEL|Misc}}
|}
===== =====
{|
{{evt|GOSSIP_ENTER_CODE|Misc}}
|}
===== =====
{|
{{evt|GOSSIP_SHOW|Misc}}
Fired when you talk to an npc
:This event typically fires when you are given several choices, including choosing to sell item, select available and active quests, just talk about something, or bind to a location.  Even when the the only available choices are quests, this event is often used instead of QUEST_GREETING.
; no arguments
|}
===== =====
{|
{{evt|GROUP_ROSTER_CHANGED|Group}}
Fired when the group's player's group member status changes. ADDED (5.0.4)
'''Note: The below needs to be validated with 5.0.4 or newer.'''
Fired whenever a raid is formed or disbanded, players are leaving or joining a raid (unsure if rejected join requests also fire the event), or when looting rules are changed (regardless of being in raid or party.)
As of 1.8.3 this event also fires when players are moved around in a Raid and when a player leaves the raid.  This holds true even if the changes do not affect your party within the raid.
4-2-05 Edit:  This event is called twice when the event PARTY_LOOT_METHOD_CHANGED is called.
7-28-05 EDIT:  This event is generated when someone joins or leaves the group, also generated whenever someone rejects an invite and you're in a group.  Also, if for instance you have 3 people in your group and you invite a 4th, it will generate 4 events.  If you call GetNumPartyMembers() it will return 0, 1, 2, and 3.  First event returing zero, 2nd event returning 1, etc etc.
|}
===== =====
{|
{{evt|GUILDBANKBAGSLOTS_CHANGED|Bank}}
Fired when the guild-bank contents change
|}
===== =====
{|
{{evt|GUILDBANKFRAME_CLOSED|Bank}}
Fired when the guild-bank frame is closed
|}
===== =====
{|
{{evt|GUILDBANKFRAME_OPENED|Bank}}
Fired when the guild-bank frame is opened
|}
===== =====
{|
{{evt|GUILDBANKLOG_UPDATE|Bank}}
Fired when the guild-bank log is updated.
|}
===== =====
{|
{{evt|GUILDBANK_ITEM_LOCK_CHANGED|Bank}}
|}
===== =====
{|
{{evt|GUILDBANK_TEXT_CHANGED|Bank}}
|}
===== =====
{|
{{evt|GUILDBANK_UPDATE_MONEY|Bank}}
|}
===== =====
{|
{{evt|GUILDBANK_UPDATE_TABS|Bank}}
|}
===== =====
{|
{{evt|GUILDBANK_UPDATE_TEXT|Bank}}
|}
===== =====
{|
{{evt|GUILDBANK_UPDATE_WITHDRAWMONEY|Bank}}
|}
===== =====
{|
{{evt|GUILD_INVITE_CANCEL|Guild}}
Fired when the guild invitation is declined.
|}
===== =====
{|
{{evt|GUILD_INVITE_REQUEST|Guild}}
Fired when you are invited to join a guild.
; arg1 : guild inviter
; arg2 : guild name
|}
===== =====
{|
{{evt|GUILD_MOTD|Guild}}
Fired when the guild messages of the day is shown.
; arg1 : guild message of the day
|}
===== =====
{|
{{evt|GUILD_REGISTRAR_CLOSED|Guild}}
|}
===== =====
{|
{{evt|GUILD_REGISTRAR_SHOW|Guild}}
|}
===== =====
{|
{{evt|GUILD_ROSTER_UPDATE|Guild}}
Fired when the client's guild info cache has been updated after a call to [[API GuildRoster|GuildRoster()]] or after any data change in any of the guild's data, excluding the Guild Information window.
; arg1 : nil if this event was triggered by the client cache being updated after a call to GuildRoster, 1 if there was a local change to Guild roster data
|}
{{evt|GUILDTABARD_UPDATE|Guild}}
?
{{evt|GUILD_EVENT_LOG_UPDATE|Guild}}
?
==== ====
{|
{{evt|GUILD_XP_UPDATE|Guild}}
Fired when the guild gains exp
see also: {{api|UnitGetGuildXP}}()
|}

Revision as of 21:15, 25 September 2012

Event API


"GLYPH_ADDED"
Category: Glyph
 

?

"GLYPH_DISABLED"
Category: Glyph
 

?

"GLYPH_ENABLED"
Category: Glyph
 

?

"GLYPH_REMOVED"
Category: Glyph
 

?

"GLYPH_UPDATED"
Category: Glyph
 

?

"GMRESPONSE_RECEIVED"
Category: Communication
 

?

"GM_PLAYER_INFO"
Category: Misc
 

?

"GMSURVEY_DISPLAY"
Category: Misc
 
"GOSSIP_CLOSED"
Category: Misc
 

Fired when you close the talk window for an npc

(Seems to be called twice)
arg1
The mouse button used to close the window (nil if closed when you go out of range)
"GOSSIP_CONFIRM"
Category: Misc
 
"GOSSIP_CONFIRM_CANCEL"
Category: Misc
 
"GOSSIP_ENTER_CODE"
Category: Misc
 
"GOSSIP_SHOW"
Category: Misc
 

Fired when you talk to an npc

This event typically fires when you are given several choices, including choosing to sell item, select available and active quests, just talk about something, or bind to a location. Even when the the only available choices are quests, this event is often used instead of QUEST_GREETING.
no arguments
"GROUP_ROSTER_CHANGED"
Category: Group
 

Fired when the group's player's group member status changes. ADDED (5.0.4)

Note: The below needs to be validated with 5.0.4 or newer.

Fired whenever a raid is formed or disbanded, players are leaving or joining a raid (unsure if rejected join requests also fire the event), or when looting rules are changed (regardless of being in raid or party.)

As of 1.8.3 this event also fires when players are moved around in a Raid and when a player leaves the raid. This holds true even if the changes do not affect your party within the raid.

4-2-05 Edit: This event is called twice when the event PARTY_LOOT_METHOD_CHANGED is called.

7-28-05 EDIT: This event is generated when someone joins or leaves the group, also generated whenever someone rejects an invite and you're in a group. Also, if for instance you have 3 people in your group and you invite a 4th, it will generate 4 events. If you call GetNumPartyMembers() it will return 0, 1, 2, and 3. First event returing zero, 2nd event returning 1, etc etc.

"GUILDBANKBAGSLOTS_CHANGED"
Category: Bank
 

Fired when the guild-bank contents change

"GUILDBANKFRAME_CLOSED"
Category: Bank
 

Fired when the guild-bank frame is closed

"GUILDBANKFRAME_OPENED"
Category: Bank
 

Fired when the guild-bank frame is opened

"GUILDBANKLOG_UPDATE"
Category: Bank
 

Fired when the guild-bank log is updated.

"GUILDBANK_ITEM_LOCK_CHANGED"
Category: Bank
 


"GUILDBANK_TEXT_CHANGED"
Category: Bank
 


"GUILDBANK_UPDATE_MONEY"
Category: Bank
 


"GUILDBANK_UPDATE_TABS"
Category: Bank
 


"GUILDBANK_UPDATE_TEXT"
Category: Bank
 


"GUILDBANK_UPDATE_WITHDRAWMONEY"
Category: Bank
 


"GUILD_INVITE_CANCEL"
Category: Guild
 

Fired when the guild invitation is declined.

"GUILD_INVITE_REQUEST"
Category: Guild
 

Fired when you are invited to join a guild.

arg1
guild inviter
arg2
guild name
"GUILD_MOTD"
Category: Guild
 

Fired when the guild messages of the day is shown.

arg1
guild message of the day
"GUILD_REGISTRAR_CLOSED"
Category: Guild
 


"GUILD_REGISTRAR_SHOW"
Category: Guild
 
"GUILD_ROSTER_UPDATE"
Category: Guild
 

Fired when the client's guild info cache has been updated after a call to GuildRoster() or after any data change in any of the guild's data, excluding the Guild Information window.

arg1
nil if this event was triggered by the client cache being updated after a call to GuildRoster, 1 if there was a local change to Guild roster data

|}

"GUILDTABARD_UPDATE"
Category: Guild
 

?

"GUILD_EVENT_LOG_UPDATE"
Category: Guild
 

?

"GUILD_XP_UPDATE"
Category: Guild
 

Fired when the guild gains exp see also: UnitGetGuildXP()