Returns the name of a pet


See also Pet battles functions.

Signature:

name, default = C_PetBattles.GetName(owner, index)

Arguments:

  • owner - The owner of the pet (number?)
  • index - The index of the pet (number)

Returns:

  • name - The name of the pet (string)
  • default - The default name of the pet (string)