Package com.epicbot.api.shared.methods
Interface IGameAPI
public interface IGameAPI
-
Method Summary
Modifier and TypeMethodDescriptionintintgetItemContainer(InventoryId inventory) getItemDef(int id) intintgetPlane()intintintintintintintintintbooleanbooleanbooleanbooleanlogout()voidTakes a screenshot and saves it to the /EpicBot/Screenshots folder.voidtakeScreenshot(File file) Takes a screenshot and saves it to given file location.
-
Method Details
-
getGameTick
int getGameTick() -
getGameCycle
int getGameCycle() -
getGameState
GameState getGameState() -
getRootGUIWidgetIndex
int getRootGUIWidgetIndex() -
getSceneX
int getSceneX() -
getSceneY
int getSceneY() -
getPlane
int getPlane() -
getSceneTile
Tile getSceneTile() -
getSceneId
int getSceneId() -
getCenterSceneTile
Tile getCenterSceneTile() -
getMinimap
WidgetChild getMinimap() -
getMinimapZoom
int getMinimapZoom() -
isInInstance
boolean isInInstance() -
isResizableMode
boolean isResizableMode() -
isHideRoofsEnabled
boolean isHideRoofsEnabled() -
getViewport
Rectangle getViewport() -
getViewportZoom
int getViewportZoom() -
getViewportX
int getViewportX() -
getViewportY
int getViewportY() -
getViewportWidth
int getViewportWidth() -
getViewportHeight
int getViewportHeight() -
logout
boolean logout() -
getItemDef
-
getSelectedWidget
WidgetChild getSelectedWidget() -
takeScreenshot
Takes a screenshot and saves it to the /EpicBot/Screenshots folder.- Throws:
IOException
-
takeScreenshot
Takes a screenshot and saves it to given file location.- Parameters:
file- screenshot file location- Throws:
IOException
-