| 1 | /* |
| 2 | * Decompiled with CFR 0.151. |
| 3 | * |
| 4 | * Could not load the following classes: |
| 5 | * org.gotti.wurmunlimited.modloader.classhooks.HookManager |
| 6 | * org.gotti.wurmunlimited.modloader.classhooks.InvocationHandlerFactory |
| 7 | */ |
| 8 | package net.encode.wurmesp.feature.hook; |
| 9 | |
| 10 | import org.gotti.wurmunlimited.modloader.classhooks.HookManager; |
| 11 | import org.gotti.wurmunlimited.modloader.classhooks.InvocationHandlerFactory; |
| 12 | |
| 13 | public class HookFeature { |
| 14 | public void prepareHook(String path, String methodName, String descriptor, InvocationHandlerFactory invocationHandlerFactory) { |
| 15 | HookManager.getInstance().registerHook(path, methodName, descriptor, invocationHandlerFactory); |
| 16 | } |
| 17 | } |
| 18 | |