Mono:Lua:mono method getSignature
Revision as of 01:41, 6 May 2018 by TheyCallMeTim13 (talk | contribs) (Created page with 'Category:Mono Category:Lua '''function''' mono_method_getHeader(''methodId'') ''':''' integer returns ''result'', ''parameternames'', ''returntype''. ;result - string : …')
function mono_method_getHeader(methodId) : integer
returns result, parameternames, returntype.
- result - string
- parameterNames - table
- strings representing parameter names
- returnType - string
- ?? - mono type string?
Function Parameters
Parameter | Type | Description |
---|---|---|
methodId | integer | The method's ID |
Examples
In Lua Engine form
- While attached to Cuphead.
Input:
local mId = mono_findMethod('', 'PlayerStatsManager', 'TakeDamage') return mono_method_getHeader(mId)
Output:
:631999760