C_PetBattles
namespaceavailable in: camelotStatus in wowlua
56 functions: 3 implemented, 8 recorded, 45 guessed.
Functions
| function | what it does | status |
|---|---|---|
AcceptPVPDuel | Accepts a pending PvP duel invitation.not in Blizzard's documentation | guessed |
AcceptQueuedPVPMatch | Accepts a pending PvP match from the queue.not in Blizzard's documentation | guessed |
CanAcceptQueuedPVPMatch | Returns whether the player can currently accept the queued PvP pet battle match.not in Blizzard's documentation | guessed |
CanActivePetSwapOut | Returns whether or not the active pet can be swapped out in the pet battle.not in Blizzard's documentation | guessed |
CanPetSwapIn | Returns whether or not the pet can swap in to the active position.not in Blizzard's documentation | guessed |
CancelPVPDuel | Declines a pending PvP pet battle duel invitation.not in Blizzard's documentation | guessed |
ChangePet | Changes the active pet out for a different pet in a pet battle.not in Blizzard's documentation | guessed |
DeclineQueuedPVPMatch | Declines a pending PvP match from the queue.not in Blizzard's documentation | guessed |
ForfeitGame | Forfeits the current Pet Battle immediately.not in Blizzard's documentation | guessed |
GetAbilityEffectInfo | Returns the effect info for a pet's ability.not in Blizzard's documentation | guessed |
GetAbilityInfo | Returns ability information for an ability in a slot on a pet that you own.not in Blizzard's documentation | guessed |
GetAbilityInfoByID | Returns very detailed information about a specific ability.not in Blizzard's documentation | guessed |
GetAbilityProcTurnIndex | Returns the turn index for a specific ability and proc type.not in Blizzard's documentation | guessed |
GetAbilityState | Returns information about a pet's ability's current state in the pet battle.not in Blizzard's documentation | guessed |
GetAbilityStateModification | Returns the modification state for an ability.not in Blizzard's documentation | guessed |
GetActivePet | Returns the index of the active pet for the specified owner in the pet battle.not in Blizzard's documentation | guessed |
GetAllEffectNames | Returns all effect parameter names for Pet Battles.not in Blizzard's documentation | recorded |
GetAllStates | Returns all state IDs.not in Blizzard's documentation | guessed |
GetAttackModifier | Returns the modifier for an attack launched by a pet against an enemy pet.not in Blizzard's documentation | guessed |
GetAuraInfo | Returns information for an aura in a pet battle.not in Blizzard's documentation | guessed |
GetBattleState | Returns the current battle state for the pet battle.not in Blizzard's documentation | recorded |
GetBreedQuality | Returns the rarity of a specific pet in the current pet battle.(petOwner: BattlePetOwner, slot: number): BattlePetBreedQuality | guessed |
GetDisplayID | Returns the current displayID of a specific pet in the pet battle.not in Blizzard's documentation | guessed |
GetForfeitPenalty | Returns the percentage of current health your pets will lose if you forfeit the battle.not in Blizzard's documentation | guessed |
GetHealth | Returns the current health of a specific pet in the current pet battle.not in Blizzard's documentation | guessed |
GetIcon | Returns the current icon of a specific pet in the pet battle.(petOwner: BattlePetOwner, slot: number): number? | guessed |
GetLevel | Returns the level of a specific pet in the current pet battle.not in Blizzard's documentation | guessed |
GetMaxHealth | Returns the maximum health of a specific pet in the current pet battle.not in Blizzard's documentation | guessed |
GetName | Returns the name(s) of a specific pet in the pet battle.(petOwner: BattlePetOwner, slot: number): (string?, string?) | guessed |
GetNumAuras | Returns the number of active auras affecting the current pet in the pet battle.not in Blizzard's documentation | guessed |
GetNumPets | Returns the number of pets that the specified owner has in the pet battle.not in Blizzard's documentation | implemented |
GetPVPMatchmakingInfo | Returns status information about the current PvP pet battle matchmaking queue.not in Blizzard's documentation | recorded |
GetPetSpeciesID | Returns the species ID of a specific pet in the pet battle.not in Blizzard's documentation | guessed |
GetPetType | Returns the current pet type of a specific pet in the pet battle.not in Blizzard's documentation | guessed |
GetPlayerTrapAbility | Returns the ability ID for the best trap available to the player in the pet battle.not in Blizzard's documentation | guessed |
GetPower | Returns the current Power of a specific pet in the pet battle.not in Blizzard's documentation | implemented |
GetSelectedAction | Returns the selected action of a specific pet in the pet battle.not in Blizzard's documentation | recorded |
GetSpeed | Returns the current Speed of a specific pet in the pet battle.not in Blizzard's documentation | implemented |
GetStateValue | Returns the value of a specific state for a specific pet in a pet battle.not in Blizzard's documentation | guessed |
GetTurnTimeInfo | Returns the remaining time and total time for your current turn in a PvP pet battle.not in Blizzard's documentation | guessed |
GetXP | Returns the experience values of a specific pet in the current pet battle.not in Blizzard's documentation | guessed |
IsInBattle | Returns whether or not there is a pet battle in progress.not in Blizzard's documentation | recorded |
IsPlayerNPC | Returns whether or not a pet battle team is controlled by an NPC.(): boolean | guessed |
IsSkipAvailable | Returns whether or not you can skip your turn at the current time.not in Blizzard's documentation | recorded |
IsTrapAvailable | Returns whether or not you can use a trap at this time.not in Blizzard's documentation | recorded |
IsWaitingOnOpponent | Returns 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 |
IsWildBattle | Returns whether or not there is a wild pet battle in progress.(): boolean | guessed |
SetPendingReportBattlePetTarget | Starts the process of reporting one of your opponent's battle pets for having a bad name.not in Blizzard's documentation | guessed |
SetPendingReportTargetFromUnit | Starts the process of reporting the specified battle pet for having a bad name.not in Blizzard's documentation | guessed |
ShouldShowPetSelect | Returns whether or not the UI should show the pet select screen.not in Blizzard's documentation | recorded |
SkipTurn | Passes your current turn in the pet battle without using an ability.not in Blizzard's documentation | guessed |
StartPVPDuel | Challenges the targeted player to a PvP pet battle duel.not in Blizzard's documentation | guessed |
StartPVPMatchmaking | Adds the current player to the PvP matchmaking queue.not in Blizzard's documentation | guessed |
StopPVPMatchmaking | Removes the current player from the PvP matchmaking queue.not in Blizzard's documentation | guessed |
UseAbility | Uses an ability in the pet battle.not in Blizzard's documentation | guessed |
UseTrap | Uses 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 ↗.