Package net.openosrs.api.input
Class HoverIntent
- java.lang.Object
-
- net.openosrs.api.input.HoverIntent
-
public final class HoverIntent extends java.lang.ObjectA replaceable preparation hint. It never authorizes a click.
-
-
Constructor Summary
Constructors Constructor Description HoverIntent(java.lang.String key, java.util.function.Supplier<MenuRequest> target, long readyInMs, int cameraYaw, int cameraPitch)The target supplier runs on the client thread and may return null until visible.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCameraPitch()intgetCameraYaw()longgetCreatedAt()java.lang.StringgetKey()longgetReadyAt()booleanisExpired()MenuRequestresolve()
-
-
-
Constructor Detail
-
HoverIntent
public HoverIntent(java.lang.String key, java.util.function.Supplier<MenuRequest> target, long readyInMs, int cameraYaw, int cameraPitch)The target supplier runs on the client thread and may return null until visible.
-
-
Method Detail
-
getKey
public java.lang.String getKey()
-
resolve
public MenuRequest resolve()
-
getCreatedAt
public long getCreatedAt()
-
getReadyAt
public long getReadyAt()
-
isExpired
public boolean isExpired()
-
getCameraYaw
public int getCameraYaw()
-
getCameraPitch
public int getCameraPitch()
-
-