Mono:Lua:mono method getClass
From Cheat Engine
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
- mono_class_findMethod
- mono_findMethod
- mono_method_getName
- mono_method_getHeader
- mono_method_getSignature
- mono_method_disassemble
- mono_method_getClass
- mono_methodheader_getILCode
- mono_getILCodeFromMethod
- mono_invoke_method