comparison ObjectiveCore.lua @ 8:7923243ae972

ObjectiveUI & ObjectiveEvents - securehook to API calls for compatibility with addons that work with the objective tracking interface - let the API hooks invoke ObjectiveUI functions when possible - ObjectiveUI framescript handlers should use the corresponding API call if possible, so that addon space can be fully aware of our actions - Sanity check cached data when possible during 'Remove' hooks ObjectiveInfo - Add cheevID to criteria info ObjectiveCore - Index quest tracker blocks by their watch offset, and use that to verify whether the given block frame should be released into pool ObjectiveFrame - Differentiate between visible and non-visible unused buttons, and only release when their quest has been dropped
author Nenue
date Fri, 01 Apr 2016 14:40:14 -0400
parents 589de8ea05b9
children f03c75f63566
comparison
equal deleted inserted replaced
7:5301c68f28d8 8:7923243ae972
148 148
149 Tracker.Watched = {} -- find by watchIndex 149 Tracker.Watched = {} -- find by watchIndex
150 Tracker.Info = {} -- find by data ID 150 Tracker.Info = {} -- find by data ID
151 Tracker.BlockInfo = {} -- find by block ID 151 Tracker.BlockInfo = {} -- find by block ID
152 Tracker.LogInfo = {} -- find by log ID (quest log mainly) 152 Tracker.LogInfo = {} -- find by log ID (quest log mainly)
153 Tracker.WatchBlock = {}
154 Tracker.WatchInfo = {} 153 Tracker.WatchInfo = {}
155 Tracker.LogBlock = {} 154 Tracker.LogBlock = {}
155 Tracker.WatchBlock = {}
156 156
157 157
158 158
159 Tracker.GetBlock = function(handler, blockIndex) 159 Tracker.GetBlock = function(handler, blockIndex)
160 local block = handler.usedBlocks[blockIndex] 160 local block = handler.usedBlocks[blockIndex]