Difference between revisions of "Mono:Lua:mono findClass"

From Cheat Engine
Jump to navigation Jump to search
(Created page with 'Category:Mono Category:Lua '''function''' mono_findClass(''namespace'', ''className'') ''':''' integer Returns the class Id of the given class name and namespace. ===Fu…')
 
(Related Functions)
 
Line 41: Line 41:
 
* [[Mono:Lua:mono_findClass|mono_findClass]]
 
* [[Mono:Lua:mono_findClass|mono_findClass]]
 
* [[Mono:Lua:mono_class_getName|mono_class_getName]]
 
* [[Mono:Lua:mono_class_getName|mono_class_getName]]
* [[Mono:Lua:mono_class_getNamespace]]
+
* [[Mono:Lua:mono_class_getNamespace|mono_class_getNamespace]]
 
* [[Mono:Lua:mono_class_getParent|mono_class_getParent]]
 
* [[Mono:Lua:mono_class_getParent|mono_class_getParent]]
 
* [[Mono:Lua:mono_class_getStaticFieldAddress|mono_class_getStaticFieldAddress]]
 
* [[Mono:Lua:mono_class_getStaticFieldAddress|mono_class_getStaticFieldAddress]]

Latest revision as of 23:19, 5 May 2018

function mono_findClass(namespace, className) : integer

Returns the class Id of the given class name and namespace.

Function Parameters[edit]

Parameter Type Description
namespace string The namespace of the class
className string The class' name


Examples[edit]

In Lua Engine form[edit]

While attached to Cuphead.

Input:

return mono_findClass('', 'PlayerStatsManager')

Output:

:284773608


See also[edit]

Related Functions[edit]