securecopy
functionimplementedavailable in: camelot
Securely copies a Lua value. Tables are deep-copied with recursive and shared references preserved; script objects are preserved by reference. Copied values receive the current execution taint.
function securecopy( value: any?, options: SecureCopyOptions?): anyParameters
| name | type | description |
|---|---|---|
value | any? | The Lua value to copy. |
options | SecureCopyOptions? | Optional settings controlling value copying behavior. If omitted, default secure copy options are used. |
Returns
copy · any · The copied value. For tables, recursive and shared references within the copied graph are preserved.
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
- 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 ↗.