after
inline fun <T> PatcherAPI.after(vararg paramTypes: Class<*>, crossinline callback: HookCallback<T>): Runnable
Adds a Hook to a constructor of a class.
Return
the Runnable object of the patch
Parameters
param Types
parameters of the constructor. Useful for patching individual overloads
callback
callback for the patch
See also
XC_Method Hook. after Hooked Method
inline fun <T> PatcherAPI.after(methodName: String, vararg paramTypes: Class<*>, crossinline callback: HookCallback<T>): Runnable
Adds a Hook to a method of a class.
Return
the Runnable object of the patch
Parameters
method Name
name of the method to patch
param Types
parameters of the method. Useful for patching individual overloads
callback
callback for the patch
See also
XC_Method Hook. after Hooked Method