Class ActorQueryResults<T extends RSActor>
- java.lang.Object
-
- com.osrsbots.orb.api.queries.actors.ActorQueryResults<T>
-
public class ActorQueryResults<T extends RSActor> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ActorQueryResults(java.util.stream.Stream<T> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
first()
@NotNull java.util.List<T>
get()
T
nearestTo(net.runelite.api.coords.WorldPoint pos)
T
nearestToMouse()
T
nearestToPlayer()
T
random()
T
randomNear(@NotNull net.runelite.api.coords.WorldPoint pos)
T
randomNearMouse()
@NotNull java.util.stream.Stream<T>
stream()
-
-
-
Constructor Detail
-
ActorQueryResults
public ActorQueryResults(java.util.stream.Stream<T> results)
-
-
Method Detail
-
get
@NotNull public @NotNull java.util.List<T> get()
-
stream
@NotNull public @NotNull java.util.stream.Stream<T> stream()
-
first
@Nullable public T first()
-
random
@Nullable public T random()
-
randomNear
@Nullable public T randomNear(@NotNull @NotNull net.runelite.api.coords.WorldPoint pos)
-
nearestTo
@Nullable public T nearestTo(@Nonnull net.runelite.api.coords.WorldPoint pos)
-
nearestToPlayer
@Nullable public T nearestToPlayer()
-
nearestToMouse
@Nullable public T nearestToMouse()
-
randomNearMouse
@Nullable public T randomNearMouse()
-
-