From d21cac1449da77416681deb3106621c8818b4a63 Mon Sep 17 00:00:00 2001 From: Tomas Slusny Date: Fri, 22 Jun 2018 11:26:01 +0200 Subject: [PATCH] Add documentation for Hooks Signed-off-by: Tomas Slusny --- .../src/main/java/net/runelite/client/callback/Hooks.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runelite-client/src/main/java/net/runelite/client/callback/Hooks.java b/runelite-client/src/main/java/net/runelite/client/callback/Hooks.java index 1ad07b523a..c0ee5d25ce 100644 --- a/runelite-client/src/main/java/net/runelite/client/callback/Hooks.java +++ b/runelite-client/src/main/java/net/runelite/client/callback/Hooks.java @@ -60,6 +60,11 @@ import net.runelite.client.util.DeferredEventBus; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +/** + * This class contains field required for mixins and runelite hooks to work. + * All remaining method hooks in this class are performance-critical or contain client-specific logic and so they + * can't just be placed in mixins or sent through event bus. + */ public class Hooks { // must be public as the mixins use it