Returns an icon representing the current pet. Used in the default Pet Stables and Talent UIs for hunter pets; returns nil for other pets.


See also Pet functions.

Signature:

texture = GetPetIcon()

Returns:

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