WoW:API PetCanBeAbandoned: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Move page script moved page API PetCanBeAbandoned to API PetCanBeAbandoned without leaving a redirect) |
||
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} | |||
Retuns true if the pet is abandonable. | Retuns true if the pet is abandonable. | ||
PetCanBeAbandoned(); | canAbandon = PetCanBeAbandoned(); | ||
---- | ---- | ||
Line 13: | Line 12: | ||
;''Returns'' | ;''Returns'' | ||
:;Boolean | :canAbandon | ||
:;canAbandon : Boolean - <tt>true</tt> if the player's pet can be abandoned. | |||
---- | ---- | ||
;''Example'' | ;''Example'' | ||
if ( PetCanBeAbandoned() ) then | if ( PetCanBeAbandoned() ) then PetAbandon(); end | ||
;''Result'' | ;''Result'' | ||
true | false | true | false | ||