v0.13.8

C_PetBattles

namespaceavailable in: camelot

Status in wowlua

56 functions: 3 implemented, 8 recorded, 45 guessed.

Functions

functionwhat it doesstatus
AcceptPVPDuelAccepts a pending PvP duel invitation.
not in Blizzard's documentation
guessed
AcceptQueuedPVPMatchAccepts a pending PvP match from the queue.
not in Blizzard's documentation
guessed
CanAcceptQueuedPVPMatchReturns whether the player can currently accept the queued PvP pet battle match.
not in Blizzard's documentation
guessed
CanActivePetSwapOutReturns whether or not the active pet can be swapped out in the pet battle.
not in Blizzard's documentation
guessed
CanPetSwapInReturns whether or not the pet can swap in to the active position.
not in Blizzard's documentation
guessed
CancelPVPDuelDeclines a pending PvP pet battle duel invitation.
not in Blizzard's documentation
guessed
ChangePetChanges the active pet out for a different pet in a pet battle.
not in Blizzard's documentation
guessed
DeclineQueuedPVPMatchDeclines a pending PvP match from the queue.
not in Blizzard's documentation
guessed
ForfeitGameForfeits the current Pet Battle immediately.
not in Blizzard's documentation
guessed
GetAbilityEffectInfoReturns the effect info for a pet's ability.
not in Blizzard's documentation
guessed
GetAbilityInfoReturns ability information for an ability in a slot on a pet that you own.
not in Blizzard's documentation
guessed
GetAbilityInfoByIDReturns very detailed information about a specific ability.
not in Blizzard's documentation
guessed
GetAbilityProcTurnIndexReturns the turn index for a specific ability and proc type.
not in Blizzard's documentation
guessed
GetAbilityStateReturns information about a pet's ability's current state in the pet battle.
not in Blizzard's documentation
guessed
GetAbilityStateModificationReturns the modification state for an ability.
not in Blizzard's documentation
guessed
GetActivePetReturns the index of the active pet for the specified owner in the pet battle.
not in Blizzard's documentation
guessed
GetAllEffectNamesReturns all effect parameter names for Pet Battles.
not in Blizzard's documentation
recorded
GetAllStatesReturns all state IDs.
not in Blizzard's documentation
guessed
GetAttackModifierReturns the modifier for an attack launched by a pet against an enemy pet.
not in Blizzard's documentation
guessed
GetAuraInfoReturns information for an aura in a pet battle.
not in Blizzard's documentation
guessed
GetBattleStateReturns the current battle state for the pet battle.
not in Blizzard's documentation
recorded
GetBreedQualityReturns the rarity of a specific pet in the current pet battle.
(petOwner: BattlePetOwner, slot: number): BattlePetBreedQuality
guessed
GetDisplayIDReturns the current displayID of a specific pet in the pet battle.
not in Blizzard's documentation
guessed
GetForfeitPenaltyReturns the percentage of current health your pets will lose if you forfeit the battle.
not in Blizzard's documentation
guessed
GetHealthReturns the current health of a specific pet in the current pet battle.
not in Blizzard's documentation
guessed
GetIconReturns the current icon of a specific pet in the pet battle.
(petOwner: BattlePetOwner, slot: number): number?
guessed
GetLevelReturns the level of a specific pet in the current pet battle.
not in Blizzard's documentation
guessed
GetMaxHealthReturns the maximum health of a specific pet in the current pet battle.
not in Blizzard's documentation
guessed
GetNameReturns the name(s) of a specific pet in the pet battle.
(petOwner: BattlePetOwner, slot: number): (string?, string?)
guessed
GetNumAurasReturns the number of active auras affecting the current pet in the pet battle.
not in Blizzard's documentation
guessed
GetNumPetsReturns the number of pets that the specified owner has in the pet battle.
not in Blizzard's documentation
implemented
GetPVPMatchmakingInfoReturns status information about the current PvP pet battle matchmaking queue.
not in Blizzard's documentation
recorded
GetPetSpeciesIDReturns the species ID of a specific pet in the pet battle.
not in Blizzard's documentation
guessed
GetPetTypeReturns the current pet type of a specific pet in the pet battle.
not in Blizzard's documentation
guessed
GetPlayerTrapAbilityReturns the ability ID for the best trap available to the player in the pet battle.
not in Blizzard's documentation
guessed
GetPowerReturns the current Power of a specific pet in the pet battle.
not in Blizzard's documentation
implemented
GetSelectedActionReturns the selected action of a specific pet in the pet battle.
not in Blizzard's documentation
recorded
GetSpeedReturns the current Speed of a specific pet in the pet battle.
not in Blizzard's documentation
implemented
GetStateValueReturns the value of a specific state for a specific pet in a pet battle.
not in Blizzard's documentation
guessed
GetTurnTimeInfoReturns the remaining time and total time for your current turn in a PvP pet battle.
not in Blizzard's documentation
guessed
GetXPReturns the experience values of a specific pet in the current pet battle.
not in Blizzard's documentation
guessed
IsInBattleReturns whether or not there is a pet battle in progress.
not in Blizzard's documentation
recorded
IsPlayerNPCReturns whether or not a pet battle team is controlled by an NPC.
(): boolean
guessed
IsSkipAvailableReturns whether or not you can skip your turn at the current time.
not in Blizzard's documentation
recorded
IsTrapAvailableReturns whether or not you can use a trap at this time.
not in Blizzard's documentation
recorded
IsWaitingOnOpponentReturns whether or not you are waiting on your opponent to decide a course of action in a PvP pet battle.
not in Blizzard's documentation
guessed
IsWildBattleReturns whether or not there is a wild pet battle in progress.
(): boolean
guessed
SetPendingReportBattlePetTargetStarts the process of reporting one of your opponent's battle pets for having a bad name.
not in Blizzard's documentation
guessed
SetPendingReportTargetFromUnitStarts the process of reporting the specified battle pet for having a bad name.
not in Blizzard's documentation
guessed
ShouldShowPetSelectReturns whether or not the UI should show the pet select screen.
not in Blizzard's documentation
recorded
SkipTurnPasses your current turn in the pet battle without using an ability.
not in Blizzard's documentation
guessed
StartPVPDuelChallenges the targeted player to a PvP pet battle duel.
not in Blizzard's documentation
guessed
StartPVPMatchmakingAdds the current player to the PvP matchmaking queue.
not in Blizzard's documentation
guessed
StopPVPMatchmakingRemoves the current player from the PvP matchmaking queue.
not in Blizzard's documentation
guessed
UseAbilityUses an ability in the pet battle.
not in Blizzard's documentation
guessed
UseTrapUses a trap to attempt to catch the opponent's active pet in the pet battle.
not in Blizzard's documentation
guessed

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (PetBattles system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗.