Difference between revisions of "Mono:Lua:mono method getClass"

From Cheat Engine
Jump to navigation Jump to search
(Created page with 'Category:Mono Category:Lua '''function''' mono_method_getClass(''methodId'') ''':''' integer Returns the class Id a method belongs in. ===Function Parameters=== {|width…')
 
(Replaced content with '<span style="font-size:25px;color:red">Sorry! Content not available.</span>')
Line 1: Line 1:
[[Category:Mono]]
+
<span style="font-size:25px;color:red">Sorry! Content not available.</span>
[[Category:Lua]]
 
'''function''' mono_method_getClass(''methodId'') ''':''' integer
 
 
 
Returns the class Id a method belongs in.
 
 
 
===Function Parameters===
 
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0"
 
!align="left"|Parameter
 
!align="left"|Type
 
!style="width: 80%;background-color:white;" align="left"|Description
 
|-
 
|methodId
 
|integer
 
|The method's ID
 
|}
 
 
 
 
 
== Examples ==
 
=== In Lua Engine form ===
 
: While attached to [https://wikipedia.org/wiki/Cuphead Cuphead].
 
'''Input:'''
 
<pre>
 
local mId = mono_findMethod('', 'PlayerStatsManager', 'TakeDamage')
 
return mono_method_getClass(mId)
 
</pre>
 
'''Output:'''
 
<pre>
 
:284773608
 
</pre>
 
 
 
 
 
{{MonoSeeAlso}}
 
 
 
=== Related Functions ===
 
* [[Mono:Lua:mono_class_findMethod|mono_class_findMethod]]
 
* [[Mono:Lua:mono_findMethod|mono_findMethod]]
 
* [[Mono:Lua:mono_method_getName|mono_method_getName]]
 
* [[Mono:Lua:mono_method_getHeader|mono_method_getHeader]]
 
* [[Mono:Lua:mono_method_getSignature|mono_method_getSignature]]
 
* [[Mono:Lua:mono_method_disassemble|mono_method_disassemble]]
 
* [[Mono:Lua:mono_method_getClass|mono_method_getClass]]
 
* [[Mono:Lua:mono_methodheader_getILCode|mono_methodheader_getILCode]]
 
* [[Mono:Lua:mono_getILCodeFromMethod|mono_getILCodeFromMethod]]
 
* [[Mono:Lua:mono_invoke_method|mono_invoke_method]]
 

Revision as of 11:56, 16 March 2019

Sorry! Content not available.