public final class BotController.PlayerApi
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
dropInventoryItem(ItemSlotIndex index) |
MapPoint |
getCurrentLocation() |
int |
getFatigue() |
java.util.Optional<ItemSlotIndex> |
getInventorySlotIndex(ItemId itemId) |
boolean |
hasItemsInInventory(java.util.List<ItemId> itemIds) |
void |
interact(Interactable interactable) |
boolean |
isFatigueZero() |
boolean |
isInventoryFull() |
boolean |
isSleeping() |
void |
pickupItem(GroundItem groundItem) |
void |
sleep() |
void |
walkTo(MapPoint mapPoint) |
public MapPoint getCurrentLocation()
public int getFatigue()
public void sleep()
public boolean isFatigueZero()
public boolean isSleeping()
public void interact(Interactable interactable)
public void pickupItem(GroundItem groundItem)
public void walkTo(MapPoint mapPoint)
public boolean isInventoryFull()
public boolean hasItemsInInventory(java.util.List<ItemId> itemIds)
public java.util.Optional<ItemSlotIndex> getInventorySlotIndex(ItemId itemId)
public void dropInventoryItem(ItemSlotIndex index)