Mono:Lua:mono method getClass

From Cheat Engine

Jump to: navigation, search

function mono_method_getClass(methodId) : integer

Returns the class Id a method belongs in.

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

Output:

:284773608


[edit] See also

[edit] Related Functions

Personal tools
Toolbox