WoW:API HasPetUI: Difference between revisions
Jump to navigation
Jump to search
m ({{wowapi}}) |
No edit summary |
||
Line 12: | Line 12: | ||
;''Returns'' | ;''Returns'' | ||
:hasUI | :hasUI, isHunterPet | ||
:;hasUI :Boolean - <tt>true</tt> if the player has a pet User Interface. | :;hasUI :Boolean - <tt>true</tt> if the player has a pet User Interface. | ||
:;isHunterPet :Boolean - <tt>true</tt> if the pet is a hunter pet | |||
---- | ---- |
Revision as of 00:36, 10 August 2007
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