[DiscordArchive] where can i find all frame events/hooks ?
[DiscordArchive] where can i find all frame events/hooks ?
Archived author: Rymercyble • Posted: 2024-04-03T09:13:15.804000+00:00
Original source
where can i find all frame events/hooks ?
Archived author: Rymercyble • Posted: 2024-04-03T09:17:05.004000+00:00
Original source
let me clarify i dont mean this
```lua
local frame = CreateFrame("FRAME")
frame:RegisterEvent("ADDON_LOADED")
```
i mean this
```lua
hooksecurefunc("TalentFrame_LoadUI")
```
Archived author: robinsch • Posted: 2024-04-03T09:31:15.315000+00:00
Original source
it can be every name function
Archived author: robinsch • Posted: 2024-04-03T09:32:24.314000+00:00
Original source
so your best bet is to write a parser the parses the entire interface source code
Archived author: robinsch • Posted: 2024-04-03T09:35:09.829000+00:00
Original source
i guess you could also just loop the global state, print in case if of function and in case of table do it recursively for table content, but i dont think thats the way to do it <a:dracthyr_hehe_animated:1002552772576690197>
Archived author: Rymercyble • Posted: 2024-04-03T09:37:14.126000+00:00
Original source
i kind of hoped there is some docs already
Archived author: robinsch • Posted: 2024-04-03T09:37:48.166000+00:00
Original source
I don't think that would help documenting 1000000000000 functions without any consistent naming schema or structure schema
Archived author: Rymercyble • Posted: 2024-04-03T09:39:09.135000+00:00
Original source
so then do i understand it correctly that those names passed into hooksecurefunc are names of function in lua files called by interface ?
Archived author: robinsch • Posted: 2024-04-03T09:39:53.088000+00:00
Original source
https://wowwiki-archive.fandom.com/wiki/...securefunc
[Embed: API hooksecurefunc]
← WoW API < hooksecurefunc Creates a secure 'post hook' for the named function. Your hook will be called with the same arguments, but will not be able to affect the outcome of the original call...
https://wowwiki-archive.fandom.com/wiki/...securefunc
![[Image: 9acfbabae4830920f462eacfa7017d18.png?ex=...0e1cbdadc&]](https://cdn.discordapp.com/attachments/415944535718494208/1225016989139992597/9acfbabae4830920f462eacfa7017d18.png?ex=690c6cf9&is=690b1b79&hm=128ce34964c3a5df72700741828ad4509942087efc516c4d7312c6f0e1cbdadc&)
Archived author: robinsch • Posted: 2024-04-03T09:40:09.976000+00:00
Original source
![[Image: 9acfbabae4830920f462eacfa7017d18.png?ex=...0e1cbdadc&]](https://cdn.discordapp.com/attachments/415944535718494208/1225016989139992597/9acfbabae4830920f462eacfa7017d18.png?ex=690c6cf9&is=690b1b79&hm=128ce34964c3a5df72700741828ad4509942087efc516c4d7312c6f0e1cbdadc&)