C_PetBattles .CanAcceptQueuedPVPMatch
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 5.3.0 |
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 changes
Patch 5.3.0 (2013-05-21): Added.