Mono:Lua:mono findClass
Revision as of 23:18, 5 May 2018 by TheyCallMeTim13 (talk | contribs) (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…')
function mono_findClass(namespace, className) : integer
Returns the class Id of the given class name and namespace.
Function Parameters
Parameter | Type | Description |
---|---|---|
namespace | string | The namespace of the class |
className | string | The class' name |
Examples
In Lua Engine form
- While attached to Cuphead.
Input:
return mono_findClass('', 'PlayerStatsManager')
Output:
:284773608