Added API Details.UnitInfo and Details.UnitTexture

UnitInfo return information about the unit and UnitTexture return the texture for the class and spec for the unit.
This commit is contained in:
Tercioo
2019-04-21 13:50:44 -03:00
parent be966f7436
commit 5e0e64982d
3 changed files with 158 additions and 6 deletions
+2 -2
View File
@@ -3042,9 +3042,9 @@ local hide_click_func = function()
--empty
end
function _detalhes:InstanceAlert (msg, icon, time, clickfunc, doflash)
function _detalhes:InstanceAlert (msg, icon, time, clickfunc, doflash, forceAlert)
if (_detalhes.streamer_config.no_alerts) then
if (not forceAlert and _detalhes.streamer_config.no_alerts) then
return
end