Mono:Lua:mono method getName

From Cheat Engine

Jump to: navigation, search

function mono_method_getName(methodId) : string

Returns the name of a method given the method id.

Contents

[edit] Function Parameters

Parameter Type Description
methodId integer The method's ID


[edit] Examples

[edit] In Lua Engine form

While attached to Cuphead.

Input:

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

Output:

:TakeDamage


[edit] See also

[edit] Related Functions

Personal tools
Toolbox