<?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=Lua%3AgetCustomType</id>
	<title>Lua:getCustomType - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Lua%3AgetCustomType"/>
	<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Lua:getCustomType&amp;action=history"/>
	<updated>2026-05-07T23:54:59Z</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=Lua:getCustomType&amp;diff=7716&amp;oldid=prev</id>
		<title>Leunsel: Created page with &quot;Category:Lua '''function''' getCustomType(''TypeName'') ''':''' CustomType or nil  Returns the custom type object registered with the specified name, or nil if not found....&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Lua:getCustomType&amp;diff=7716&amp;oldid=prev"/>
		<updated>2025-07-11T18:42:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&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; getCustomType(&amp;#039;&amp;#039;TypeName&amp;#039;&amp;#039;) &amp;#039;&amp;#039;&amp;#039;:&amp;#039;&amp;#039;&amp;#039; CustomType or nil  Returns the custom type object registered with the specified name, or nil if not found....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Lua]]&lt;br /&gt;
'''function''' getCustomType(''TypeName'') ''':''' CustomType or nil&lt;br /&gt;
&lt;br /&gt;
Returns the custom type object registered with the specified name, or nil if not found.&lt;br /&gt;
&lt;br /&gt;
===Function Parameters===&lt;br /&gt;
{|width=&amp;quot;85%&amp;quot; cellpadding=&amp;quot;10%&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;
|TypeName&lt;br /&gt;
|String&lt;br /&gt;
|The name of the custom type to retrieve.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
CustomType — The custom type object if found, or nil if not found.&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local myType = getCustomType(&amp;quot;3ByteInt&amp;quot;)&lt;br /&gt;
if myType then&lt;br /&gt;
  print(&amp;quot;Custom type found!&amp;quot;)&lt;br /&gt;
else&lt;br /&gt;
  print(&amp;quot;Custom type not found.&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[registerCustomTypeLua]]&lt;/div&gt;</summary>
		<author><name>Leunsel</name></author>
		
	</entry>
</feed>