WoW API: HasPetUI

From AddOn Studio
Revision as of 00:36, 10 August 2007 by WoWWiki>Cataleptic
Jump to navigation Jump to search

WoW API < HasPetUI

Returns true if the player has a pet User Interface.

hasUI = HasPetUI();

Arguments
none

Returns
hasUI, isHunterPet
hasUI
Boolean - true if the player has a pet User Interface.
isHunterPet
Boolean - true if the pet is a hunter pet

Example
 if ( HasPetUI() ) then DoPetStuff(); end
Result
true | false