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.

1064 Part IV ■ <strong>Reference</strong>GetItemFamily—Returns in<strong>for</strong>mation about special bag types that can holda given itemGetItemGem—Returns in<strong>for</strong>mation about gems socketed in an itemGetItemIcon—Returns the path to an icon texture <strong>for</strong> the itemGetItemInfo—Returns in<strong>for</strong>mation about an item, by name, link or IDGetItemQualityColor—Returns color values <strong>for</strong> use in displaying items <strong>of</strong> agiven qualityGetItemSpell—Returns in<strong>for</strong>mation about the spell cast by an item’s ‘‘Use:’’effectGetItemStatDelta—Returns a summary <strong>of</strong> the difference in stat bonusesbetween two itemsGetItemStats—Returns a summary <strong>of</strong> an item’s stat bonusesGetItemUniqueness—Returns in<strong>for</strong>mation about uniqueness restrictions <strong>for</strong>equipping an itemIsConsumableItem—Returns whether an item is consumableIsCurrentItem—Returns whether an item is being usedIsDressableItem—Returns whether an item’s appearance can be previewedusing the Dressing Room featureIsEquippableItem—Returns whether an item can be equippedIsEquippedItem—Returns whether an item is currently equippedIsEquippedItemType—Returns whether any items <strong>of</strong> a given type are currentlyequippedIsHarmfulItem—Returns whether an item can be used against hostile unitsIsHelpfulItem—Returns whether an item can be used on the player orfriendly unitsIsItemInRange—Returns whether the player is in range to use an item on aunitIsUsableItem—Returns whether an item can currently be usedItemHasRange—Returns whether an item has a range limitation <strong>for</strong> its usePickupItem—Puts an arbitrary item onto the cursorReplaceEnchant—Confirms replacing an existing enchantmentSpellCanTargetItem—Returns whether the spell currently awaiting a targetrequires an item to be chosenSpellTargetItem—Casts the spell currently awaiting a target on an itemUseItemByName—Uses an arbitrary item (optionally on a specified unit)

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

Saved successfully!

Ooh no, something went wrong!