method. This is the
filter to pair with a __namecall hook, and it is the cheapest one: the
comparison is a pointer test against the engine’s interned method name, with no
string compare.
Parameters
string
required
The method name to match, e.g.
"FireServer", "Kick", "InvokeServer".Properties
string
The method name. Writable.
Behavior
- Only meaningful during a namecall. Outside a
__namecallthere is no method name in flight, so the filter does not match. - It does not read arguments, so it is unaffected by argument positions.
Example
Errors
Related
hookmetamethod: install the__namecallhook.getnamecallmethod: read the name inside a hook.