java.lang.Object
net.botwithus.rs3.events.impl.VariableUpdateEvent
- All Implemented Interfaces:
EventMapper
VariableUpdateEvent
relies on preview features of the Java platform:
VariableUpdateEvent
refers to one or more preview APIs:Arena
,MemorySegment
.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic VariableUpdateEvent
fromNative
(MemorySegmentPREVIEW struct) void
fromSegment
(MemorySegmentPREVIEW segment) int
getId()
int
getValue()
boolean
isVarbit()
-
Constructor Details
-
VariableUpdateEvent
public VariableUpdateEvent()
-
-
Method Details
-
getId
public int getId() -
getValue
public int getValue() -
isVarbit
public boolean isVarbit() -
toSegment
- Specified by:
toSegment
in interfaceEventMapper
-
fromSegment
- Specified by:
fromSegment
in interfaceEventMapper
-
fromNative
-
VariableUpdateEvent
when preview features are enabled.