12.07.2015 Views

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 28 ■ API Categories 1083Pet Stable FunctionsBuyStableSlot—Purchases the next available stable slot, without confirmationClickStablePet—Inspects or moves a pet in the Pet Stable UIClosePetStables—Ends use <strong>of</strong> the Pet Stable UI/APIGetNextStableSlotCost—Returns the cost <strong>of</strong> the next available stable slotGetNumStablePets—Returns the number <strong>of</strong> stabled petsGetNumStableSlots—Returns the number <strong>of</strong> stable slots the player haspurchasedGetSelectedStablePet—Returns the index <strong>of</strong> the selected stable petGetStablePetFoodTypes—Returns the types <strong>of</strong> food that a stabled pet willeatGetStablePetInfo—Returns in<strong>for</strong>mation about a stabled petIsAtStableMaster—Returns whether the player is interacting with a StableMaster NPCPickupStablePet—Puts a pet from the stables onto the cursorSetPetStablePaperdoll—Sets the given Model to show the selected stabledpetStablePet—Puts the player’s current pet into the stablesUnstablePet—Makes a pet from the stables the active petPet FunctionsCastPetAction—Casts a pet action on a specific targetDestroyTotem—Destroys a specific totem (or ghoul)DisableSpellAutocast—Disables automatic casting <strong>of</strong> a pet spellEnableSpellAutocast—Enables automatic casting <strong>of</strong> a pet spellGetPetActionCooldown—Returns cooldown in<strong>for</strong>mation about a given petaction slotGetPetActionInfo—Returns in<strong>for</strong>mation about a pet actionGetPetActionSlotUsable—Returns whether a pet action can be usedGetPetActionsUsable—Returns whether the pet’s actions are usableGetPetExperience—Returns in<strong>for</strong>mation about experience points <strong>for</strong> theplayer’s pet

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!