Mono:Lua:mono class getName
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