WoW:Events/Pet: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (automated upload)
m (Move page script moved page Events/Pet to Events/Pet without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
__NOTOC____NOEDITSECTION__{{eventlistheader}}
<!-- DO NOT EDIT. THIS IS AN AUTOMATICALLY GENERATED PAGE. -->
<!-- DO NOT EDIT. THIS IS AN AUTOMATICALLY GENERATED PAGE. -->
<!-- DO NOT EDIT. THIS IS AN AUTOMATICALLY GENERATED PAGE. -->


:{{icon-information}}Note that this page is automatically generated; editing it is pointless. To edit event descriptions, edit the entries in the alphabetical pages, e.g. [[Events/A]], [[Events/B]], etc. Changes there will be copied over to here within a few hours.
== Pet related events ==
{{evt|LOCALPLAYER_PET_RENAMED|Pet}}
{{evt|PET_ATTACK_START|Combat,Pet}}
Fired when the player's pet begins attacking.
{{evt|PET_ATTACK_STOP|Combat,Pet}}
Fired when the player's pet ceases attack
{{evt|PET_BAR_HIDE|Pet,Action Bar}}
?
{{evt|PET_BAR_HIDEGRID|Pet,Action Bar}}
Fired when pet spells are dropped into the PetActionBar.
{{evt|PET_BAR_SHOWGRID|Pet, Action Bar}}
Fired when pet spells are dragged '''from''' the pet spellbook or the PetActionBar.
;arg1: MouseButton used (e.g. "LeftButton","RightButton")
{{evt|PET_BAR_UPDATE|Pet, Action Bar}}
Fired when the pet bar is updates.
{{evt|PET_BAR_UPDATE_USABLE|Pet,ActionBar}}
?
{{evt|PET_BAR_UPDATE_COOLDOWN|Pet, Action Bar}}
Fired when a pet spell cooldown starts. It is not called when cooldown ends.
{{evt|PET_DISMISS_START|Pet}}
?
{{evt|PET_SPELL_POWER_UPDATE|Pet}}
Fires when the pet's spell power bonus changes. Use {{api|GetPetSpellBonusDamage}}() to retrieve the new value.
{{evt|PET_FORCE_NAME_DECLENSION|Pet}}
?
{{evt|PET_RENAMEABLE|Pet}}
?
{{evt|PET_STABLE_CLOSED|Pet}}
{{evt|PET_STABLE_SHOW|Pet}}
{{evt|PET_STABLE_UPDATE|Pet}}
{{evt|PET_STABLE_UPDATE_PAPERDOLL|Pet}}
{{evt|PET_TALENT_UPDATE|Pet}}
?
{{evt|PET_UI_CLOSE|Pet}}
{{evt|PET_UI_UPDATE|Pet}}
{{evt|PREVIEW_PET_TALENT_POINTS_CHANGED|Pet}}
?
{{evt|UNIT_HAPPINESS|Unit Info,Pet}}
Fired when the Pet Happiness changes. Used in PetFrame.lua to decide when to update the happiness display. '''Removed in [[Patch 4.0]], use {{api|t=e|UNIT_POWER}} instead.'''
{{evt|UNIT_PET|Unit Info,Pet}}
Fired when a unit's pet changes.
; arg1 : The [[API_TYPE_UnitId|UnitID]] of the entity whose pet changed
{{evt|UNIT_PET_EXPERIENCE|Unit Info,Pet}}
Fired when the pet's experience changes.

Latest revision as of 04:48, 15 August 2023

Event API


"I" iconNote that this page is automatically generated; editing it is pointless. To edit event descriptions, edit the entries in the alphabetical pages, e.g. Events/A, Events/B, etc. Changes there will be copied over to here within a few hours.


Pet related events

"LOCALPLAYER_PET_RENAMED"
Category: Pet
 



"PET_ATTACK_START"
Category: Combat,Pet
 

Fired when the player's pet begins attacking.


"PET_ATTACK_STOP"
Category: Combat,Pet
 

Fired when the player's pet ceases attack


"PET_BAR_HIDE"
Category: Pet,Action Bar
 

?


"PET_BAR_HIDEGRID"
Category: Pet,Action Bar
 

Fired when pet spells are dropped into the PetActionBar.


"PET_BAR_SHOWGRID"
Category: Pet, Action Bar
 

Fired when pet spells are dragged from the pet spellbook or the PetActionBar.

arg1
MouseButton used (e.g. "LeftButton","RightButton")


"PET_BAR_UPDATE"
Category: Pet, Action Bar
 

Fired when the pet bar is updates.


"PET_BAR_UPDATE_USABLE"
Category: Pet,ActionBar
 

?


"PET_BAR_UPDATE_COOLDOWN"
Category: Pet, Action Bar
 

Fired when a pet spell cooldown starts. It is not called when cooldown ends.


"PET_DISMISS_START"
Category: Pet
 

?


"PET_SPELL_POWER_UPDATE"
Category: Pet
 

Fires when the pet's spell power bonus changes. Use GetPetSpellBonusDamage() to retrieve the new value.


"PET_FORCE_NAME_DECLENSION"
Category: Pet
 

?


"PET_RENAMEABLE"
Category: Pet
 

?


"PET_STABLE_CLOSED"
Category: Pet
 



"PET_STABLE_SHOW"
Category: Pet
 



"PET_STABLE_UPDATE"
Category: Pet
 



"PET_STABLE_UPDATE_PAPERDOLL"
Category: Pet
 



"PET_TALENT_UPDATE"
Category: Pet
 

?


"PET_UI_CLOSE"
Category: Pet
 



"PET_UI_UPDATE"
Category: Pet
 



"PREVIEW_PET_TALENT_POINTS_CHANGED"
Category: Pet
 

?


"UNIT_HAPPINESS"
Category: Unit Info,Pet
 

Fired when the Pet Happiness changes. Used in PetFrame.lua to decide when to update the happiness display. Removed in Patch 4.0, use UNIT_POWER instead.


"UNIT_PET"
Category: Unit Info,Pet
 

Fired when a unit's pet changes.

arg1
The UnitID of the entity whose pet changed


"UNIT_PET_EXPERIENCE"
Category: Unit Info,Pet
 

Fired when the pet's experience changes.