Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API C_PetBattles.CanAcceptQueuedPVPMatch

From Wowpedia
Jump to: navigation, search

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 of Pandaria Patch 5.3.0 (2013-05-21): Added.

See also