<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Mono%3ALua%3Amono_findMethod</id>
	<title>Mono:Lua:mono findMethod - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Mono%3ALua%3Amono_findMethod"/>
	<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Mono:Lua:mono_findMethod&amp;action=history"/>
	<updated>2026-04-05T01:55:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://wiki.cheatengine.org/index.php?title=Mono:Lua:mono_findMethod&amp;diff=5987&amp;oldid=prev</id>
		<title>TheyCallMeTim13: Created page with 'Category:Mono Category:Lua '''function''' mono_findMethod(''namespace'', ''className'', ''methodName'') ''':''' integer  Returns the method Id of the given method name in…'</title>
		<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Mono:Lua:mono_findMethod&amp;diff=5987&amp;oldid=prev"/>
		<updated>2018-05-06T01:31:55Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;&lt;a href=&quot;/index.php?title=Category:Mono&quot; title=&quot;Category:Mono&quot;&gt;Category:Mono&lt;/a&gt; &lt;a href=&quot;/index.php?title=Category:Lua&quot; title=&quot;Category:Lua&quot;&gt;Category:Lua&lt;/a&gt; &amp;#039;&amp;#039;&amp;#039;function&amp;#039;&amp;#039;&amp;#039; mono_findMethod(&amp;#039;&amp;#039;namespace&amp;#039;&amp;#039;, &amp;#039;&amp;#039;className&amp;#039;&amp;#039;, &amp;#039;&amp;#039;methodName&amp;#039;&amp;#039;) &amp;#039;&amp;#039;&amp;#039;:&amp;#039;&amp;#039;&amp;#039; integer  Returns the method Id of the given method name in…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Mono]]&lt;br /&gt;
[[Category:Lua]]&lt;br /&gt;
'''function''' mono_findMethod(''namespace'', ''className'', ''methodName'') ''':''' integer&lt;br /&gt;
&lt;br /&gt;
Returns the method Id of the given method name in the given class name in the namespace.&lt;br /&gt;
&lt;br /&gt;
===Function Parameters===&lt;br /&gt;
{|width=&amp;quot;85%&amp;quot; cellpadding=&amp;quot;10%&amp;quot; cellpadding=&amp;quot;5%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Parameter&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Type&lt;br /&gt;
!style=&amp;quot;width: 80%;background-color:white;&amp;quot; align=&amp;quot;left&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|namespace&lt;br /&gt;
|string&lt;br /&gt;
|The namespace of the method&lt;br /&gt;
|-&lt;br /&gt;
|className&lt;br /&gt;
|string&lt;br /&gt;
|The class name of the method&lt;br /&gt;
|-&lt;br /&gt;
|methodName&lt;br /&gt;
|string&lt;br /&gt;
|The name of the method&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== In Lua Engine form ===&lt;br /&gt;
: While attached to [https://wikipedia.org/wiki/Cuphead Cuphead].&lt;br /&gt;
'''Input:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
return mono_findMethod('', 'PlayerStatsManager', 'TakeDamage')&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
:284818304&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Input:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
return mono_findMethod('Assembly-CSharp', 'PlayerStatsManager', 'TakeDamage')&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
:284818304&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{MonoSeeAlso}}&lt;br /&gt;
&lt;br /&gt;
=== Related Functions ===&lt;br /&gt;
* [[Mono:Lua:mono_class_findMethod|mono_class_findMethod]]&lt;br /&gt;
* [[Mono:Lua:mono_findMethod|mono_findMethod]]&lt;br /&gt;
* [[Mono:Lua:mono_method_getName|mono_method_getName]]&lt;br /&gt;
* [[Mono:Lua:mono_method_getHeader|mono_method_getHeader]]&lt;br /&gt;
* [[Mono:Lua:mono_method_getSignature|mono_method_getSignature]]&lt;br /&gt;
* [[Mono:Lua:mono_method_disassemble|mono_method_disassemble]]&lt;br /&gt;
* [[Mono:Lua:mono_method_getClass|mono_method_getClass]]&lt;br /&gt;
* [[Mono:Lua:mono_methodheader_getILCode|mono_methodheader_getILCode]]&lt;br /&gt;
* [[Mono:Lua:mono_getILCodeFromMethod|mono_getILCodeFromMethod]]&lt;br /&gt;
* [[Mono:Lua:mono_invoke_method|mono_invoke_method]]&lt;/div&gt;</summary>
		<author><name>TheyCallMeTim13</name></author>
		
	</entry>
</feed>