Mono:Lua:mono object getClass

From Cheat Engine
Revision as of 01:04, 6 May 2018 by TheyCallMeTim13 (talk | contribs) (Created page with 'Category:Mono Category:Lua '''function''' mono_object_getClass(''address'') ''':''' integer, string Returns ''classId'', ''className'' of the class at the given address …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

function mono_object_getClass(address) : integer, string

Returns classId, className of the class at the given address in memory.

Function Parameters

Parameter Type Description
address integer The objects address in memory


Examples

In Lua Engine form

While attached to Cuphead.

Input:

local cId = mono_findClass('', 'PlayerStatsManager')
return mono_object_getClass(cId)

Output:

:284773608
:PlayerStatsManager


See also

Related Functions