Mono:Lua:mono free method
Revision as of 02:05, 6 May 2018 by TheyCallMeTim13 (talk | contribs) (Created page with 'Category:Mono Category:Lua '''function''' mono_free_method(''methodId'') Frees the method (memory), only if profiler isn't being used, and only works on dynamic methods.…')
function mono_free_method(methodId)
Frees the method (memory), only if profiler isn't being used, and only works on dynamic methods.
Function Parameters[edit]
Parameter | Type | Description |
---|---|---|
methodId | integer | The method's Id. |
Examples[edit]
In Lua Engine form[edit]
- While attached to Cuphead.
Input:
return mono_free_method(mono_getJitInfo(getAddress('PlayerStatsManager:TakeDamage')).method)