Class WebPathResponse
- java.lang.Object
-
- org.dreambot.api.methods.walking.pathfinding.impl.web.WebPathResponse
-
public class WebPathResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WebPathResponse.WebPathResponseBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebPathResponse.WebPathResponseBuilder
builder()
java.util.List<Teleport>
getAllTeleports()
java.util.List<RequiredItem>
getEntranceItems()
java.util.List<ItemTeleport>
getItemTeleports()
java.util.List<MagicTeleport>
getMagicTeleports()
java.util.List<AbstractWebNode>
getNodes()
WebPathQuery
getQuery()
java.util.List<RequiredItem>
getRequiredItems()
boolean
haveAllRequiredItems(boolean withBank)
Checks if you have allRequiredItem
s for this path response, boolean to determine if bank cache can be used for this check.void
setQuery(WebPathQuery query)
-
-
-
Method Detail
-
getQuery
public WebPathQuery getQuery()
-
getAllTeleports
public java.util.List<Teleport> getAllTeleports()
-
getItemTeleports
public java.util.List<ItemTeleport> getItemTeleports()
-
getMagicTeleports
public java.util.List<MagicTeleport> getMagicTeleports()
-
getEntranceItems
public java.util.List<RequiredItem> getEntranceItems()
-
getRequiredItems
public java.util.List<RequiredItem> getRequiredItems()
-
haveAllRequiredItems
public boolean haveAllRequiredItems(boolean withBank)
Checks if you have allRequiredItem
s for this path response, boolean to determine if bank cache can be used for this check.- Parameters:
withBank
- True if you want bank cache to be used, else false.- Returns:
- True if all required items are satisfied.
-
builder
public static WebPathResponse.WebPathResponseBuilder builder()
-
getNodes
public java.util.List<AbstractWebNode> getNodes()
-
setQuery
public void setQuery(WebPathQuery query)
-
-