Difference between revisions of "Mono:Lua:mono class getName"

From Cheat Engine
Jump to navigation Jump to search
(Created page with 'Category:Mono Category:Lua '''function''' mono_class_getName(''classId'') ''':''' string Returns the class name as a string. ===Function Parameters=== {|width="85%" cel…')
 
(Related Functions)
 
Line 38: Line 38:
 
* [[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 00:40, 6 May 2018

function mono_class_getName(classId) : string

Returns the class name as a string.

Function Parameters[edit]

Parameter Type Description
classId integer The class' ID


Examples[edit]

In Lua Engine form[edit]

While attached to Cuphead.

Input:

local cId = mono_findClass('', 'PlayerStatsManager')
return mono_class_getName(cId)

Output:

:PlayerStatsManager


See also[edit]

Related Functions[edit]