Difference between revisions of "Mono:Lua:mono object getClass"

From Cheat Engine
Jump to navigation Jump to search
(Created page with 'Category:Mono Category:Lua '''function''' mono_object_getClass(''address'') ''':''' integer, string Returns ''classId'', ''className'' of the class at the given address …')
 
(No difference)

Latest revision as of 01:04, 6 May 2018

function mono_object_getClass(address) : integer, string

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

Function Parameters[edit]

Parameter Type Description
address integer The objects address in memory


Examples[edit]

In Lua Engine form[edit]

While attached to Cuphead.

Input:

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

Output:

:284773608
:PlayerStatsManager


See also[edit]

Related Functions[edit]