Difference between revisions of "Mono:Lua:mono method getClass"
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…') |
(No difference)
|
Revision as of 01:49, 6 May 2018
function mono_method_getClass(methodId) : integer
Returns the class Id a method belongs in.
Function Parameters
Parameter | Type | Description |
---|---|---|
methodId | integer | The method's ID |
Examples
In Lua Engine form
- While attached to Cuphead.
Input:
local mId = mono_findMethod('', 'PlayerStatsManager', 'TakeDamage') return mono_method_getClass(mId)
Output:
:284773608