I'm attempting to make a custom UI for the achievement panel and the first change I want to make is modifying the summary progress bars. On ESOUI's repo, I found that line 1546 in
this file is what initializes the summary. Shortly after that is what updates it. I want to hook into these two functions, and I'm attempting to do that via:
Lua Code:
function addon:Test()
ZO_PreHook(ACHIEVEMENTS, "InitializeSummary", function()
d("Inside the init hook!")
--return true
end)
ZO_PreHook(ACHIEVEMENTS, "UpdateSummary", function()
d("Inside the update hook!")
--return true
end)
d("In test!")
end
I'm getting the output for printing "In test!" but I don't see anything for the hooks. Am I doing something incorrectly or can we not hook into these functions?