General > Developers Corner
ULX priorities
Buzzkill:
psst.. ascentechit = me. :)
Aaron113:
Heh, either way both of you seemed to have issues with the hook priority stuff.
EDIT: And you're not the first.
Buzzkill:
Is there any way to get ULib's hook table? I'm looking through shared/hook.lua, and it looks like we override GetTable() to return the legacy (pre ULib) table. I'd like to interrogate the current hook table from ULX in order to build a utility function to return all active hooks and their priorities, but I don't see how I can get at Hooks from outside hook.lua.
Thanks.
Megiddo:
You can read more on the issue here -- https://github.com/Nayruden/Ulysses/issues/448
Buzzkill, our intent is to propose the ULib hook module as the official hook module going forward (GetTable() would change to return the regular table at that time), but I've added GetULibTable() to hook.* in the meantime.
Buzzkill:
Thanks Megiddo!
BTW -- that ascentechit fellow is incredibly insightful and well-spoken.
;D
Navigation
[0] Message Index
[*] Previous page
Go to full version