Mono:Lua:mono findMethod

From Cheat Engine

Jump to: navigation, search

function mono_findMethod(namespace, className, methodName) : integer

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

Contents

[edit] Function Parameters

Parameter Type Description
namespace string The namespace of the method
className string The class name of the method
methodName string The name of the method


[edit] Examples

[edit] In Lua Engine form

While attached to Cuphead.

Input:

return mono_findMethod('', 'PlayerStatsManager', 'TakeDamage')

Output:

:284818304

Input:

return mono_findMethod('Assembly-CSharp', 'PlayerStatsManager', 'TakeDamage')

Output:

:284818304


[edit] See also

[edit] Related Functions

Personal tools
Toolbox