setmetatable
functionimplementedavailable in: camelot
Sets the metatable for the given table.
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type | description |
|---|---|---|
table | table | The table to assign or remove the metatable of. |
metatable | table? | The metatable to be assigned, or nil to remove an existing metatable. |
Returns
table · table · The table passed in as the first argument.
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 ↗.