Class PacketMethodLocator


  • public class PacketMethodLocator
    extends java.lang.Object
    A 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 Context class.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void initialize​(net.runelite.api.Client client)
      Initializes the packet method locator.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PacketMethodLocator

        public PacketMethodLocator()
    • 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.