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 1099VoiceGetCurrentOutputDevice—Returns the index <strong>of</strong> the current voice outputdeviceVoiceSelectCaptureDevice—Selects an audio input device <strong>for</strong> voice chatVoiceSelectOutputDevice—Selects an audio output device <strong>for</strong> voice chatSpell FunctionsCastSpell—Casts a spell from the spellbookCastSpellByID—Casts a spell specified by ID (optionally on a specified unit)CastSpellByName—Casts a spell specified by name (optionally on a specifiedunit)CursorHasSpell—Returns whether a spell is on the cursorDisableSpellAutocast—Disables automatic casting <strong>of</strong> a pet spellEnableSpellAutocast—Enables automatic casting <strong>of</strong> a pet spellGetItemSpell—Returns in<strong>for</strong>mation about the spell cast by an item’s ‘‘Use:’’effectGetKnownSlotFromHighestRankSlot—Returns the spellbook slot <strong>for</strong> the player’shighest known rank <strong>of</strong> a spellGetNumSpellTabs—Returns the number <strong>of</strong> tabs in the player’s spellbookGetQuestLogRewardSpell—Returns in<strong>for</strong>mation about the spell reward <strong>for</strong>the selected quest in the quest logGetRewardSpell—Returns in<strong>for</strong>mation about a spell awarded when completinga questGetSpellAutocast—Returns in<strong>for</strong>mation about automatic casting <strong>for</strong> a spellin the spellbookGetSpellCooldown—Returns cooldown in<strong>for</strong>mation about a spell in the spellbookGetSpellCount—Returns the number <strong>of</strong> times a spell can be castGetSpellInfo—Returns in<strong>for</strong>mation about a spellGetSpellLink—Returns a hyperlink <strong>for</strong> a spellGetSpellName—Returns the name <strong>and</strong> secondary text <strong>for</strong> a spell in thespellbookGetSpellTabInfo—Returns in<strong>for</strong>mation about a tab in the spellbookGetSpellTexture—Returns the icon texture path <strong>for</strong> a spellHasPetSpells—Returns whether the player’s current pet has a spellbook

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

Saved successfully!

Ooh no, something went wrong!