Get an Epic Experience with Premium


Libraries Login to Add Favorites
  • World of Warcraft
  • 26 Monthly Downloads
  • Supports: 5.4.0
  • 2,555 Total Downloads
  • Updated 09/11/2013
  • Created 07/29/2010
  • 0 Favorites
  • Project Site
  • Release Type: Release
  • License: MIT License
  • Newest File:

About LibQuestItem-1.0

There are various ways to tell if a item is a quest item or not. This library will attempt to combine all different ways.

The library will only be able to tell a addon if a item is a quest item if the user have the item equipped, in a bag, on keyring or in bank when visiting.

Implemented so far:
-Scan for quest items in bags, keyring and equipped. Scanning using GetContainerItemQuestInfo() and looking at item type and subtype using GetItemInfo.
-Scan for quest items using the questlog using GetQuestLogSpecialItemInfo().
-Detects if items starts a quest and/or if the user is already on the quest the item belongs to.

API (so far):
GetQuestItems(forceRescan) -returns a table with itemIds and their properties.
IsQuestItem(itemId) -return true if quest item.
IsUsable(itemId) -return true if usable quest item.
StartsQuestId(itemId) -return the questId if item starts a quest.
IsQuestActive(itemId) -return true if user is on quest.

This is my first library so any constructive feedback is very welcome.

r35 | zidayaxis | 2013-09-11 07:54:37 +0000 (Wed, 11 Sep 2013) | 2 lines
Changed paths:
   A /tags/ (from /trunk:34)

Tagging as
Update TOC to Patch 5.4
r34 | ZidayaXis | 2013-09-11 07:20:17 +0000 (Wed, 11 Sep 2013) | 1 line
Changed paths:
   M /trunk/LibQuestItem-1.0.toc

Update TOC to 5.4.0

Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Marriland Furious Fists Giveaway!