>wowhelm_
~/forever/addon-api/function/securecallmethod

securecallmethod

documented function · FrameScript
securecallmethod(object, method, arguments) : results

Invokes a named method on an object with a secure call barrier that prevents errors or taint from function lookup and execution from propagating to the caller.

──ARGUMENTS
object
LuaValueReference (The table on which to look up the named method from. Lookup of the method uses raw access and ignores any associated metatable.)
method
cstring (The name of a method to retrieve.)
arguments
LuaValueReference, stride index 1 (Arguments to supply to the method. The initial 'object' parameter is always supplied as the first argument, followed by these values.)
──RETURNS
results
LuaValueReference, stride index 1 (Results from the executed function. If an error occurred, this result list will be empty.)
──DETAILS
Secure Hooks Allowed
false
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.