Difference between revisions of "Mono:Lua:mono class getName"
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…') |
(No difference)
|
Revision as of 00:39, 6 May 2018
function mono_class_getName(classId) : string
Returns the class name as a string.
Function Parameters
Parameter | Type | Description |
---|---|---|
classId | integer | The class' ID |
Examples
In Lua Engine form
- While attached to Cuphead.
Input:
local cId = mono_findClass('', 'PlayerStatsManager') return mono_class_getName(cId)
Output:
:PlayerStatsManager