Mono:Lua:mono method getName

From Cheat Engine
Revision as of 01:36, 6 May 2018 by TheyCallMeTim13 (talk | contribs) (Created page with 'Category:Mono Category:Lua '''function''' mono_method_getName(''methodId'') ''':''' string Returns the name of a method given the method id. ===Function Parameters=== {…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

function mono_method_getName(methodId) : string

Returns the name of a method given the method id.

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_getName(mId)

Output:

:TakeDamage


See also

Related Functions