java.lang.Object
net.botwithus.rs3.events.impl.InventoryUpdateEvent
- All Implemented Interfaces:
EventMapper
InventoryUpdateEvent
relies on preview features of the Java platform:
InventoryUpdateEvent
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 InventoryUpdateEvent
void
fromSegment
(MemorySegmentPREVIEW segment) int
int
getSlot()
-
Constructor Details
-
InventoryUpdateEvent
public InventoryUpdateEvent()
-
-
Method Details
-
getInventoryId
public int getInventoryId() -
getSlot
public int getSlot() -
toSegment
- Specified by:
toSegment
in interfaceEventMapper
-
fromSegment
- Specified by:
fromSegment
in interfaceEventMapper
-
fromNative
-
getOldItem
-
getNewItem
-
InventoryUpdateEvent
when preview features are enabled.