java.lang.Object
net.botwithus.rs3.events.impl.ServerTickedEvent
- All Implemented Interfaces:
EventMapper
ServerTickedEvent
relies on preview features of the Java platform:
ServerTickedEvent
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.
This event is fired when the server end tick packet is received
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServerTickedEvent
fromNative
(MemorySegmentPREVIEW struct) void
fromSegment
(MemorySegmentPREVIEW segment) int
getTicks()
-
Constructor Details
-
ServerTickedEvent
public ServerTickedEvent()
-
-
Method Details
-
getTicks
public int getTicks() -
toSegment
- Specified by:
toSegment
in interfaceEventMapper
-
fromSegment
- Specified by:
fromSegment
in interfaceEventMapper
-
fromNative
-
ServerTickedEvent
when preview features are enabled.