v0.13.8

hooksecurefunc

functionimplementedavailable in: camelot

Securely posthooks the specified function. The hook will be called with the same arguments after the original call is performed.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
tbltable?Table to hook the functionName key in; if omitted, defaults to the global table (_G).
functionNamestringname of the function being hooked.
hookfuncfunctionyour hook function.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.