CreateSecureDelegate
functionguessedavailable in: camelot
Creates a secure delegate closure for a Lua function. The delegate invokes the original function in a protected call context with secure execution taint, and supports passing and returning values directly.
function CreateSecureDelegate( luaFunction: any, options: SecureDelegateOptions?): anyParameters
| name | type | description |
|---|---|---|
luaFunction | any | The Lua function to invoke through the secure delegate. |
options | SecureDelegateOptions? | Optional settings controlling secure delegate behavior. If omitted, default options are used. |
Returns
secureDelegateFunction · any · A secure delegate function that calls through to the original Lua function.
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
Restrictions
- Blizzard's documentation marks it as restricted in some situations.
- It can't be hooked with hooksecurefunc.
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (FrameScript system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.