# C_PetBattles: World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/C_PetBattles

## Functions

### C_PetBattles.GetBreedQuality

```lua
quality = C_PetBattles.GetBreedQuality(petOwner, slot)
```

Arguments:
- `petOwner`: BattlePetOwner
- `slot`: number

Returns:
- `quality`: BattlePetBreedQuality

### C_PetBattles.GetIcon

```lua
iconFileID = C_PetBattles.GetIcon(petOwner, slot)
```

May return nothing.

Arguments:
- `petOwner`: BattlePetOwner
- `slot`: number

Returns:
- `iconFileID`: fileID

### C_PetBattles.GetName

```lua
customName, speciesName = C_PetBattles.GetName(petOwner, slot)
```

May return nothing.

Arguments:
- `petOwner`: BattlePetOwner
- `slot`: number

Returns:
- `customName`: string
- `speciesName`: string

### C_PetBattles.IsPlayerNPC

```lua
isPlayerNPC = C_PetBattles.IsPlayerNPC()
```

Returns:
- `isPlayerNPC`: bool

### C_PetBattles.IsWildBattle

```lua
isWildBattle = C_PetBattles.IsWildBattle()
```

Returns:
- `isWildBattle`: bool

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
