Originally Posted by Garkin
I'd like to hook ZO_LeaderboardRaidProvider but it's local to EsoUI\Ingame\Contacts\Notifications.lua.
|
Sorry for the jumble of 1,000 different ideas :P and I still see nothing wrong with what you did, but another option is that you could also hook: NOTIFICATIONS:BuildMasterList().
It would be the same result as what you did so this may not be useful for what your doing, but I saw it & thought I would point it out in case you
(or anyone else reading this post later) had any reason to hook any other notifications it might be easier to grab them all in one place:
Lua Code:
-- hook this:
function ZO_NotificationManager:BuildMasterList()
for i = 1, #self.providers do
self.providers[i]:BuildNotificationList()
end
end
-- with this:
--function NOTIFICATIONS:BuildMasterList()
and just intercept self.providers[10]
(or whatever provider is needed).