- Full rework on how deaths are handled, now the last events before death should be more precise.
- Added damage taken from environment, like falling, lava, drowning, etc. - Added Fire and Brimstone spell customizations for warlocks. - Bookmark now are shared between all characters. - Fixed few inconsistencies with trash recognition. - Fixed Cloud Capture where sometimes it wasn't sharing. - Fixed report where it wasn't sharing for guild and raid when the player name box were empty. - Report box now also saves the position and last report channel. - You Are Not Prepared plugin now have tooltips for spells and auto open after a boss encounter. - Advanced Death Logs plugin got full rewrite (and still are in development). - New API: _detalhes:GetFramework() return the framework object. - New API: combat:GetDifficult() return the raid difficult on the combat object. - New API: combat:GetBossInfo() return the boss info object. - New API: combat:GetDeaths() return the table used to store deaths. - New API: _detalhes:CreatePluginOptionsFrame (name, title, template), create a preset frame for options. - New API Alias: framework:CreateLabel (parent, text, size, color, font, member, name)
This commit is contained in:
@@ -408,47 +408,10 @@ local APIBarFunctions
|
||||
--> hooks
|
||||
function BarMetaFunctions:SetHook (hookType, func)
|
||||
if (func) then
|
||||
if (hookType == "OnEnterHook") then
|
||||
self.OnEnterHook = func
|
||||
return true
|
||||
elseif (hookType == "OnLeaveHook") then
|
||||
self.OnLeaveHook = func
|
||||
return true
|
||||
elseif (hookType == "OnHideHook") then
|
||||
self.OnHideHook = func
|
||||
return true
|
||||
elseif (hookType == "OnShowHook") then
|
||||
self.OnShowHook = func
|
||||
return true
|
||||
elseif (hookType == "OnMouseDownHook") then
|
||||
self.OnMouseDownHook = func
|
||||
return true
|
||||
elseif (hookType == "OnMouseUpHook") then
|
||||
self.OnMouseUpHook = func
|
||||
return true
|
||||
end
|
||||
_rawset (self, hookType.."Hook", func)
|
||||
else
|
||||
if (hookType == "OnEnterHook") then
|
||||
self.OnEnterHook = nil
|
||||
return true
|
||||
elseif (hookType == "OnLeaveHook") then
|
||||
self.OnLeaveHook = nil
|
||||
return true
|
||||
elseif (hookType == "OnHideHook") then
|
||||
self.OnHideHook = nil
|
||||
return true
|
||||
elseif (hookType == "OnShowHook") then
|
||||
self.OnShowHook = nil
|
||||
return true
|
||||
elseif (hookType == "OnMouseDownHook") then
|
||||
self.OnMouseDownHook = nil
|
||||
return true
|
||||
elseif (hookType == "OnMouseUpHook") then
|
||||
self.OnMouseUpHook = nil
|
||||
return true
|
||||
end
|
||||
_rawset (self, hookType.."Hook", nil)
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user