Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(bot; Events/P split)
KethoBot (talk | contribs)
m (Remove elinks)
Tag: WoW API docs
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{wowapievent|Pet|Action Bar}}
+
{{wowapievent|C_ActionBar}}
Fired when the pet bar is updates.
+
Fired whenever the pet bar is updated and its GUI needs to be re-rendered/refreshed.
"PET_BAR_UPDATE"
+
PET_BAR_UPDATE
   
  +
==Payload==
[[Category:API events/Unformatted]]
 
  +
None
  +
  +
==Details==
  +
Examples of actions which trigger this event:
  +
# Losing your pet (causes the pet bar to vanish).
  +
# Gaining a pet (causes the pet bar to appear).
  +
# Triggering the pet "aggressive/defensive/passive" state (whether via the button or via commands like "/petdefensive"). Triggers even if the new state is the same as last time (ie. by re-triggering the same button multiple times in a row).
  +
# Triggering the pet "follow" or "stay" commands (but not the "attack" command since unlike the others, its button never gets highlighted on the bar while the pet is attacking). Just like the aggressiveness state, this also reacts via commands like "/petstay", and will likewise react to repeated re-triggering (through any method).
  +
# Toggling pet skill "autocast" state, regardless of whether you do it via the spellbook, or right-clicking on the bar icon itself, or using commands like "/petautocasttoggle Growl".
  +
# Moving icons on the pet skill bar, such as by dragging icons from the pet spellbook onto the ''pet'' bar. (This is ''not'' your regular player action bar, which of course can't even contain pet spells even if you attempt to drag them there manually.)

Latest revision as of 22:55, 8 June 2021

Fired whenever the pet bar is updated and its GUI needs to be re-rendered/refreshed.

PET_BAR_UPDATE

Payload

None

Details

Examples of actions which trigger this event:

  1. Losing your pet (causes the pet bar to vanish).
  2. Gaining a pet (causes the pet bar to appear).
  3. Triggering the pet "aggressive/defensive/passive" state (whether via the button or via commands like "/petdefensive"). Triggers even if the new state is the same as last time (ie. by re-triggering the same button multiple times in a row).
  4. Triggering the pet "follow" or "stay" commands (but not the "attack" command since unlike the others, its button never gets highlighted on the bar while the pet is attacking). Just like the aggressiveness state, this also reacts via commands like "/petstay", and will likewise react to repeated re-triggering (through any method).
  5. Toggling pet skill "autocast" state, regardless of whether you do it via the spellbook, or right-clicking on the bar icon itself, or using commands like "/petautocasttoggle Growl".
  6. Moving icons on the pet skill bar, such as by dragging icons from the pet spellbook onto the pet bar. (This is not your regular player action bar, which of course can't even contain pet spells even if you attempt to drag them there manually.)