<?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_class_getParent</id>
	<title>Mono:Lua:mono class getParent - 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_class_getParent"/>
	<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Mono:Lua:mono_class_getParent&amp;action=history"/>
	<updated>2026-04-14T15:42:31Z</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_class_getParent&amp;diff=5978&amp;oldid=prev</id>
		<title>TheyCallMeTim13 at 00:46, 6 May 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Mono:Lua:mono_class_getParent&amp;diff=5978&amp;oldid=prev"/>
		<updated>2018-05-06T00:46:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 00:46, 6 May 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Mono]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Mono]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Lua]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Lua]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''function''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;mono_class_getNamespace&lt;/del&gt;(''classId'') ''':''' integer&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''function''' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;mono_class_getParent&lt;/ins&gt;(''classId'') ''':''' integer&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Returns the classId of the parent class of the given class.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Returns the classId of the parent class of the given class.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>TheyCallMeTim13</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.cheatengine.org/index.php?title=Mono:Lua:mono_class_getParent&amp;diff=5977&amp;oldid=prev</id>
		<title>TheyCallMeTim13: Created page with 'Category:Mono Category:Lua '''function''' mono_class_getNamespace(''classId'') ''':''' integer  Returns the classId of the parent class of the given class.  ===Function P…'</title>
		<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Mono:Lua:mono_class_getParent&amp;diff=5977&amp;oldid=prev"/>
		<updated>2018-05-06T00:45:23Z</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_class_getNamespace(&amp;#039;&amp;#039;classId&amp;#039;&amp;#039;) &amp;#039;&amp;#039;&amp;#039;:&amp;#039;&amp;#039;&amp;#039; integer  Returns the classId of the parent class of the given class.  ===Function P…&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_class_getNamespace(''classId'') ''':''' integer&lt;br /&gt;
&lt;br /&gt;
Returns the classId of the parent class of the given class.&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;
|classId&lt;br /&gt;
|integer&lt;br /&gt;
|The class' ID&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;
local cId = mono_findClass('', 'PlayerStatsManager')&lt;br /&gt;
local pcId = mono_class_getParent(cId)&lt;br /&gt;
return mono_class_getName(pcId)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Output:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
:AbstractPlayerComponent&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_object_getClass|mono_object_getClass]]&lt;br /&gt;
* [[Mono:Lua:mono_image_findClass|mono_image_findClass]]&lt;br /&gt;
* [[Mono:Lua:mono_findClass|mono_findClass]]&lt;br /&gt;
* [[Mono:Lua:mono_class_getName|mono_class_getName]]&lt;br /&gt;
* [[Mono:Lua:mono_class_getNamespace|mono_class_getNamespace]]&lt;br /&gt;
* [[Mono:Lua:mono_class_getParent|mono_class_getParent]]&lt;br /&gt;
* [[Mono:Lua:mono_class_getStaticFieldAddress|mono_class_getStaticFieldAddress]]&lt;br /&gt;
* [[Mono:Lua:mono_class_enumFields|mono_class_enumFields]]&lt;br /&gt;
* [[Mono:Lua:mono_class_enumMethods|mono_class_enumMethods]]&lt;br /&gt;
* [[Mono:Lua:mono_class_findMethod|mono_class_findMethod]]&lt;/div&gt;</summary>
		<author><name>TheyCallMeTim13</name></author>
		
	</entry>
</feed>