Get an Epic Experience with Premium

LibQuestItem-1.0

Libraries Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 37 Monthly Downloads
  • Supports: 5.4.0
  • 2,548 Total Downloads
  • Updated 09/11/2013
  • Created 07/29/2010
  • 0 Favorites
  • Project Site
  • Release Type: Release
  • License: MIT License
  • Newest File: 1.0.2.4
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.

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

Tagging as 1.0.2.4
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 »

Logitech G Ultimate Gamer Pack Giveaway