C_PetBattles.CanAcceptQueuedPVPMatch

Returns whether the player can currently accept the queued PvP pet battle match.

canAccept = C_PetBattles.CanAcceptQueuedPVPMatch() 

Returns

canAccept 
Boolean - true if the player can currently accept the queued PvP pet battle match invitation, false otherwise.

Details

  • Combat (and potentially other conditions) prevent the player from accepting a queued PvP pet battle.
  • This function can return true even if the player does not have an active invitation to a PvP pet battle.

Patch history

Mists-Logo-Small.png Patch 5.3.0 (2013-05-21): Added.

See also

Community content is available under CC BY-SA 3.0 unless otherwise noted.