-
- All Implemented Interfaces:
-
java.lang.Comparable
public abstract class XC_MethodHook extends XCallback
Callback class for method hooks.
Usually, anonymous subclasses of this class are created which override beforeHookedMethod and/or afterHookedMethod.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classXC_MethodHook.MethodHookParamWraps information about the method call and allows to influence it.
public classXC_MethodHook.UnhookAn object with which the method/constructor can be unhooked.
-
Constructor Summary
Constructors Constructor Description XC_MethodHook()Creates a new callback with default priority. XC_MethodHook(int priority)Creates a new callback with a specific priority.
-
Method Summary
Modifier and Type Method Description -
-
Constructor Detail
-
XC_MethodHook
XC_MethodHook()
Creates a new callback with default priority.
-
XC_MethodHook
XC_MethodHook(int priority)
Creates a new callback with a specific priority.- Parameters:
priority- See priority.
-
-
-
-