Metatable
Raw metatables and the read-only flag. Entries: 6.
- getnamecallmethodInside a __namecall hook, returns the name of the method being called.
string - getrawmetatableReturns an object's metatable even when __metatable is set to hide it.
table - isreadonlyReturns true when a table is frozen against writes.
boolean - makereadonlyMakes a table read-only, so writing to it raises an error. The same as setreadonly(tab, true).
() - setrawmetatableReplaces an object's metatable regardless of __metatable protection.
table - setreadonlyFreezes or unfreezes a table. Call it before writing to a game metatable, and restore the original state afterwards.
()