Returns the path of a pet's icon texture.


See also Pet battles functions.

Signature:

icon = C_PetBattles.GetIcon(owner, index)

Arguments:

  • owner - The owner of the pet (number)

    • 1 - The player
    • 2 - The opponent

  • index - The index of the pet (1-3) (number)

Returns:

  • icon - Path to an icon texture for the aura (string)