Mercurial > wow > buffalo2
diff ObjectiveTracker/APIHooks.lua @ 45:dd1ae565f559
Hooks and Handlers:
- correct argument mix-ups for AcceptQuest/QUEST_ACCEPTED handlers; fixes auto-watch
- respond to AcknowledgeAutoAcceptQuest; fixes lingering popups
- include Popup and Quest trackers in the response code for CompleteQuest; fixes content artifacts following the rollover of repeating popups seen in Ashran
- clean up wacky OnEvent header
Layout
- add alpha blend options
QuestData
- reset objectives data when a quest is in a completed state; keeps old data from ever reaching the Default.x code
author | Nenue |
---|---|
date | Tue, 26 Apr 2016 14:57:18 -0400 |
parents | 756e8aeb040b |
children |
line wrap: on
line diff
--- a/ObjectiveTracker/APIHooks.lua Mon Apr 25 19:37:13 2016 -0400 +++ b/ObjectiveTracker/APIHooks.lua Tue Apr 26 14:57:18 2016 -0400 @@ -12,6 +12,9 @@ local QuestPOIUpdateIcons = QuestPOIUpdateIcons --- Module updates triggered by user events +T.AcknowledgeAutoAcceptQuest = function(...) + return OBJECTIVE_TRACKER_UPDATE_MODULE_QUEST + OBJECTIVE_TRACKER_UPDATE_MODULE_AUTO_QUEST_POPUP +end T.AddQuestWatch = function(questID) return OBJECTIVE_TRACKER_UPDATE_MODULE_QUEST @@ -28,6 +31,7 @@ return OBJECTIVE_TRACKER_UPDATE_MODULE_AUTO_QUEST_POPUP end T.RemoveAutoQuestPopUp = function(questID) + AddQuestWatch(GetQuestLogIndexByID(questID)) return OBJECTIVE_TRACKER_UPDATE_MODULE_AUTO_QUEST_POPUP end --- SUPER_TRACKED_QUEST_CHANGED will fires @@ -43,10 +47,10 @@ end end end - T.SuperTrackedQuestID = questID end + local previousSelection --@debug@ local tprint = B.print('Tracker') -- @debug@