Class SimulationSnapshotService


  • public final class SimulationSnapshotService
    extends java.lang.Object
    Captures an immutable, RuneLite-compatible snapshot directly from the live game state.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SimulationSnapshot capture()
      Captures a snapshot with the default NPC inclusion radius.
      static SimulationSnapshot capture​(int npcRadius)
      Captures a snapshot using a Chebyshev-distance radius from the local player.
      • Methods inherited from class java.lang.Object

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

      • SimulationSnapshotService

        public SimulationSnapshotService()
    • Method Detail

      • capture

        public static SimulationSnapshot capture()
        Captures a snapshot with the default NPC inclusion radius.
        Returns:
        immutable simulation snapshot.
      • capture

        public static SimulationSnapshot capture​(int npcRadius)
        Captures a snapshot using a Chebyshev-distance radius from the local player. Set radius <= 0 to include all loaded NPCs on the same plane.
        Parameters:
        npcRadius - NPC inclusion radius in tiles.
        Returns:
        immutable simulation snapshot.