Add documentation for Hooks

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2018-06-22 11:26:01 +02:00
committed by Adam
parent ffbc89a801
commit d21cac1449

View File

@@ -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