End of mythic+ panel updates, training dummy icon, etc.
- Added a round of polishing into the end of mythic+ panel. - Added: Details:RegisterFrameToColor(frame) the registered frame will use the same color scheme of all the other frames from Details!. - Segments menu will show a different icon for training dummies. - Fixed functions that retrieve information about a dungeon. - Fixed an issue while trying to report using the "Report Results" from the report results tooltip.
This commit is contained in:
+8
-18
@@ -63,7 +63,11 @@ end
|
||||
---@param id instanceid|instancename|mapid
|
||||
---@return details_instanceinfo?
|
||||
function Details:GetInstanceInfo(id)
|
||||
---@type details_encounterinfo
|
||||
if (id == 463) then --fall
|
||||
id = 1209
|
||||
end
|
||||
|
||||
---@type details_instanceinfo
|
||||
local instanceData = Details222.EJCache.CacheRaidData_ByInstanceId[id]
|
||||
if (instanceData) then
|
||||
return instanceData
|
||||
@@ -78,21 +82,10 @@ function Details:GetInstanceInfo(id)
|
||||
if (instanceData) then
|
||||
return instanceData
|
||||
end
|
||||
end
|
||||
|
||||
instanceData = Details222.EJCache.CacheDungeonData_ByInstanceId[id]
|
||||
if (instanceData) then
|
||||
return instanceData
|
||||
end
|
||||
|
||||
instanceData = Details222.EJCache.CacheDungeonData_ByInstanceName[id]
|
||||
if (instanceData) then
|
||||
return instanceData
|
||||
end
|
||||
|
||||
instanceData = Details222.EJCache.CacheDungeonData_ByMapId[id]
|
||||
if (instanceData) then
|
||||
return instanceData
|
||||
end
|
||||
function Details:DumpInstanceInfo()
|
||||
dumpt(Details222.EJCache.CacheRaidData_ByInstanceId)
|
||||
end
|
||||
|
||||
function Details:GetInstanceEJID(...)
|
||||
@@ -109,9 +102,6 @@ function Details222.EJCache.CreateEncounterJournalDump()
|
||||
Details222.EJCache.CacheRaidData_ByInstanceId = {}
|
||||
Details222.EJCache.CacheRaidData_ByInstanceName = {} --this is localized name
|
||||
Details222.EJCache.CacheRaidData_ByMapId = {} --retrivied from GetInstanceInfo()
|
||||
Details222.EJCache.CacheDungeonData_ByInstanceId = {}
|
||||
Details222.EJCache.CacheDungeonData_ByInstanceName = {}
|
||||
Details222.EJCache.CacheDungeonData_ByMapId = {}
|
||||
Details222.EJCache.CacheEncountersByEncounterName = {}
|
||||
Details222.EJCache.CacheEncountersBy_EncounterName = {}
|
||||
Details222.EJCache.CacheEncountersBy_EncounterId = {}
|
||||
|
||||
Reference in New Issue
Block a user