Metatable
Reading and modifying metatables, including write protection.
Available Functions
| Function | Description |
|---|---|
| getrawmetatable | Gets the 'metatable' from a table or userdata whilst ignoring the __metatable value. |
| setrawmetatable | Sets the 'metatable' for a table or userdata whilst ignoring the '__metatable' value. |
| hookmetamethod | hooks the method inside the object with func returning the old func. |
| setreadonly | Sets the 'table's read only/protected status. |
| isreadonly | Checks if the table is read only/protected. |
| makereadonly | Sets the table to read only. |
| makewritable | Makes the table writable. |
| getnamecallmethod | Gets the current thread's __namecall method. |
| setnamecallmethod | Sets the current threads's __namecall method. |