IonizeDocsionize.cc ↗

API Reference

Metatable Library

Reading and modifying metatables, including write protection.

9 members

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.