Get an Epic Experience with Premium

LibQuestItem-1.0

Libraries Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 89 Monthly Downloads
  • Supports: 6.0.2
  • 2,939 Total Downloads
  • Updated 10/18/2014
  • Created 07/29/2010
  • 0 Favorites
  • Project Site
  • Release Type: Release
  • License: MIT License
  • Newest File: 1.0.6.0
or

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.

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

------------------------------------------------------------------------
r38 | zidayaxis | 2014-10-18 11:34:55 +0000 (Sat, 18 Oct 2014) | 1 line
Changed paths:
   A /tags/1.0.6.0 (from /trunk:37)

Tagging as 1.0.6.0
------------------------------------------------------------------------
r37 | ZidayaXis | 2014-10-18 07:47:07 +0000 (Sat, 18 Oct 2014) | 1 line
Changed paths:
   M /trunk/LibQuestItem-1.0.toc

edit TOC
------------------------------------------------------------------------
r36 | ZidayaXis | 2014-10-18 07:28:44 +0000 (Sat, 18 Oct 2014) | 1 line
Changed paths:
   M /trunk/LibQuestItem-1.0.toc

TOC updated
------------------------------------------------------------------------

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 »

Plantronics GameCom Commander Headset Giveaway!