Mono:Lua:mono class getNamespace
Jump to navigation
Jump to search
function mono_class_getNamespace(classId) : string
Returns the namespace of the given class 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_getNamespace(cId)
Output:
: