Added support for Combat Log Event Recording (in game)

Further versions will support ingame time line analysis using the combat log event records, at the moment it is available for early adopters.
To enable, edit the line '_is_storing_cleu' to true in Parser.lua.

Also on this version: added early implementation of damage chart in the Player Detail Breakdown window, it is disabled by default for users.
This commit is contained in:
Tercioo
2019-04-16 13:20:28 -03:00
parent d18fa8c138
commit be966f7436
6 changed files with 196 additions and 30 deletions
+14
View File
@@ -1083,6 +1083,20 @@ function _G._detalhes:Start()
--nothing
elseif (event == "COMBAT_MYTHICDUNGEON_START") then
local lower_instance = _detalhes:GetLowerInstanceNumber()
if (lower_instance) then
lower_instance = _detalhes:GetInstance (lower_instance)
if (lower_instance) then
C_Timer.After (3, function()
if (lower_instance:IsEnabled()) then
--todo, need localization
lower_instance:InstanceAlert ("Details!" .. " " .. "Damage" .. " " .. "Meter", {[[Interface\AddOns\Details\images\minimap]], 16, 16, false}, 3, {function() end}, false, true)
end
end)
end
end
--> ignore the event if ignoring mythic dungeon special treatment
if (_detalhes.streamer_config.disable_mythic_dungeon) then
return