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 1051PickupPlayerMoney—Puts an amount <strong>of</strong> the player’s money onto the cursorPickupSpell—Puts a spell from the player’s or pet’s spellbook onto thecursorPickupStablePet—Puts a pet from the stables onto the cursorPickupTradeMoney—Puts money <strong>of</strong>fered by the player <strong>for</strong> trade onto thecursorPlaceAction—Puts the contents <strong>of</strong> the cursor into an action bar slotPutItemInBackpack—Puts the item on the cursor into the player’s backpackPutItemInBag—Puts the item on the cursor into one <strong>of</strong> the player’s bags orother containersResetCursor—Returns the cursor to its normal appearance (the glove pointer)<strong>and</strong> behaviorSetCursor—Changes the mouse cursor imageShowBuybackSellCursor—Changes the cursor to prepare <strong>for</strong> repurchasingan item recently sold to a vendorShowContainerSellCursor—Changes the cursor to prepare <strong>for</strong> selling anitem in the player’s bags to a vendorShowInventorySellCursor—Changes the cursor to prepare <strong>for</strong> selling anequipped item to a vendorShowMerchantSellCursor—Changes the cursor to prepare <strong>for</strong> buying an itemfrom a vendorShowRepairCursor—Puts the cursor in item repair modeSplitContainerItem—Picks up only part <strong>of</strong> a stack <strong>of</strong> items from one <strong>of</strong> theplayer’s bags or other containersSplitGuildBankItem—Picks up only part <strong>of</strong> a stack <strong>of</strong> items from the guildbankDebugging <strong>and</strong> Pr<strong>of</strong>iling FunctionsFrameXML_Debug—Enables or disables logging <strong>of</strong> XML loadingGetAddOnCPUUsage—Returns the amount <strong>of</strong> CPU time used by an addonGetAddOnMemoryUsage—Returns the amount <strong>of</strong> memory used by an addonGetEventCPUUsage—Returns in<strong>for</strong>mation about the CPU usage <strong>of</strong> an eventGetFrameCPUUsage—Returns in<strong>for</strong>mation about CPU usage by a frame’sscript h<strong>and</strong>lersGetFramerate—Returns the number <strong>of</strong> frames per second rendered by theclient

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

Saved successfully!

Ooh no, something went wrong!