Mono:Lua:mono class findMethod

From Cheat Engine

Jump to: navigation, search

function mono_class_findMethod(classId, methodName) : integer

Returns the method Id of the given method name in the given class.

Contents

[edit] Function Parameters

Parameter Type Description
classId integer The class' ID
methodName string The methods name


[edit] Examples

[edit] In Lua Engine form

While attached to Cuphead.

Input:

local cId = mono_findClass('', 'PlayerStatsManager')
return mono_class_findMethod(cId, 'TakeDamage')

Output:

:284818304


[edit] See also

[edit] Related Functions

Personal tools
Toolbox