API Reference

Metatable

Reading and modifying metatables, including write protection.

Available Functions

FunctionDescription
getrawmetatableGets the 'metatable' from a table or userdata whilst ignoring the __metatable value.
setrawmetatableSets the 'metatable' for a table or userdata whilst ignoring the '__metatable' value.
hookmetamethodhooks the method inside the object with func returning the old func.
setreadonlySets the 'table's read only/protected status.
isreadonlyChecks if the table is read only/protected.
makereadonlySets the table to read only.
makewritableMakes the table writable.
getnamecallmethodGets the current thread's __namecall method.
setnamecallmethodSets the current threads's __namecall method.