LibObjectiveProgress-1.0

LibObjectiveProgress is a simple library designed to provide an API for quest objective progress weight information.

For Mythic dungeons, it provides the following API (where mapID is mapID, NOT worldMapID, and where isTeeming is a boolean that defaults to false):
 GetNPCWeightByMap(mapID, npcID, isTeeming = false) - returns weight in percentage form ('1' for 1%) or nil

For quests (including world quests), it provides the following API:
 GetNPCWeightByQuest(questID, npcID) - returns weight in percentage form ('1' for 1%) or nil
 GetNPCWeightByCurrentQuests(npcID) - returns a table of '[questID] = weight' pairs for the specified NPC -or- nil in the case that the NPC has no weights under any of the current quests

The library is relatively lightweight, and data is not directly loaded until it is requested (first request for a map-based weight will load all map-based weights, and first request for a quest-based weight will load all quest-based weights).

KNOWN ISSUES:
World quest NPC weight data is lacking for some quests. Looking to improve this for future exports but need to do more research on the connections between NPC and Quest in the client-side data.

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Oct 09, 2016
Categories
Last update
Oct 25, 2016
Development stage
Release
License
BSD License
Curse link
LibObjectiveProgress-1.0
Reverse relationships
1
Downloads
313
Recent files
  • R: v1.1.0 for 7.0.3 Oct 25, 2016
  • R: v1.1.1 for 7.1.0 Oct 25, 2016
  • A: r11 for 7.1.0 Oct 25, 2016
  • A: r8 for 7.0.3 Oct 17, 2016
  • R: v1.0.3 for 7.0.3 Oct 13, 2016

Authors

Relationships

Embedded library
LibStub