Mono:Lua:mono method getSignature

From Cheat Engine
Revision as of 01:43, 6 May 2018 by TheyCallMeTim13 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

function mono_method_getSignature(methodId) : integer

returns result, parameternames, returntype.

result - string
parameterNames - table
strings representing parameter names
returnType - string
?? - mono type string?

Function Parameters[edit]

Parameter Type Description
methodId integer The method's ID


Examples[edit]

In Lua Engine form[edit]

While attached to Cuphead.

Input:

local mId = mono_findMethod('', 'PlayerStatsManager', 'TakeDamage')
return mono_method_getSignature(mId)

Output:

:
:table
[
]
:System.Void


See also[edit]

Related Functions[edit]