Mono:Lua:mono class getNamespace

From Cheat Engine
Revision as of 00:43, 6 May 2018 by TheyCallMeTim13 (talk | contribs) (Created page with 'Category:Mono Category:Lua '''function''' mono_class_getNamespace(''classId'') ''':''' string Returns the namespace of the given class as a string. ===Function Paramete…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

function mono_class_getNamespace(classId) : string

Returns the namespace of the given class 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_getNamespace(cId)

Output:

:


See also

Related Functions