Skip to content

rq.AinHookCtx ​

What an rq.ain.hook callback gets.

Fields ​

NameTypeDescription
namestringThe function's name.
argstableThe arguments by position; change one to change what the function gets. References and structs are nil.
skip (optional)booleanbefore only: true keeps the function from running.
result (optional)anyIn before: what a skipped function returns. In after: the return value, which may be changed.

Used by ​

rq.AinHookOpts, rq.scene.after, rq.scene.before, rq.scene.replace