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

From Cheat Engine
Jump to navigation Jump to search
(Created page with 'Category:Mono Category:Lua '''function''' mono_method_getClass(''methodId'') ''':''' integer Returns the class Id a method belongs in. ===Function Parameters=== {|width…')
 
m (Reverted edits by This content is not available (Talk) to last revision by TheyCallMeTim13)
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 19:06, 18 March 2019

function mono_method_getClass(methodId) : integer

Returns the class Id a method belongs in.

Function Parameters[edit]

Parameter Type Description
methodId integer The method's ID


Examples[edit]

In Lua Engine form[edit]

While attached to Cuphead.

Input:

local mId = mono_findMethod('', 'PlayerStatsManager', 'TakeDamage')
return mono_method_getClass(mId)

Output:

:284773608


See also[edit]

Related Functions[edit]