Package net.openosrs.api.state
Class ActorLifetimes
- java.lang.Object
-
- net.openosrs.api.state.ActorLifetimes
-
@Singleton public final class ActorLifetimes extends java.lang.ObjectClient-thread actor lifetimes, including reuse of the same native object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classActorLifetimes.Identity
-
Constructor Summary
Constructors Constructor Description ActorLifetimes(net.runelite.api.Client client, ClientSceneState scenes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActorLifetimes.Identitycapture(net.runelite.api.Actor actor)static ActorLifetimesforClient(net.runelite.api.Client client)voidinvalidate(net.runelite.api.Actor actor)Call for spawn and despawn, even if a pooled native object retains its ID.
-
-
-
Constructor Detail
-
ActorLifetimes
@Inject public ActorLifetimes(net.runelite.api.Client client, ClientSceneState scenes)
-
-
Method Detail
-
forClient
public static ActorLifetimes forClient(net.runelite.api.Client client)
-
invalidate
public void invalidate(net.runelite.api.Actor actor)
Call for spawn and despawn, even if a pooled native object retains its ID.
-
capture
public ActorLifetimes.Identity capture(net.runelite.api.Actor actor)
-
-