Class SimulationNpcSnapshot
- java.lang.Object
-
- com.kraken.api.simulation.snapshot.SimulationNpcSnapshot
-
public final class SimulationNpcSnapshot extends java.lang.ObjectImmutable NPC position snapshot used as simulation input.
-
-
Constructor Summary
Constructors Constructor Description SimulationNpcSnapshot(int index, int id, int size, int packedWorldPoint, java.lang.String name)Creates an npc snapshot with packed coordinates.SimulationNpcSnapshot(int index, int id, int size, @NonNull net.runelite.api.coords.WorldPoint worldPoint)Creates an npc snapshot.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.runelite.api.coords.WorldPointgetWorldPoint()
-
-
-
Constructor Detail
-
SimulationNpcSnapshot
public SimulationNpcSnapshot(int index, int id, int size, @NonNull @NonNull net.runelite.api.coords.WorldPoint worldPoint)Creates an npc snapshot.- Parameters:
index- RuneLite npc index.id- RuneLite npc id.size- npc size in tiles.worldPoint- npc anchor tile.
-
SimulationNpcSnapshot
public SimulationNpcSnapshot(int index, int id, int size, int packedWorldPoint, java.lang.String name)Creates an npc snapshot with packed coordinates.- Parameters:
index- RuneLite npc index.id- RuneLite npc id.size- npc size in tiles.packedWorldPoint- packed npc world point.name- optional npc name.
-
-