Package com.kraken.api.core.packet
Class PacketMethodLocator
- java.lang.Object
-
- com.kraken.api.core.packet.PacketMethodLocator
-
public class PacketMethodLocator extends java.lang.ObjectA static utility class to find and cache the obfuscated packet-sending method ("addNode") from the game client.This class is intended to be run once at startup within a RuneLite context and is not intended to be run directly by plugins. It should be called and instantiated through the
Contextclass.
-
-
Field Summary
Fields Modifier and Type Field Description static PacketMethodspacketMethods
-
Constructor Summary
Constructors Constructor Description PacketMethodLocator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidinitialize(net.runelite.api.Client client)Initializes the packet method locator.
-
-
-
Field Detail
-
packetMethods
public static PacketMethods packetMethods
-
-
Method Detail
-
initialize
public static void initialize(net.runelite.api.Client client)
Initializes the packet method locator. This is the main entry point. It will attempt to load from cache, or perform a full client analysis if no valid cache is found.- Parameters:
client- The RuneLite Client instance.
-
-