Package com.epicbot.api.shared.methods
Interface IGameAPI
-
public interface IGameAPI
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tile
getCenterSceneTile()
int
getGameCycle()
GameState
getGameState()
int
getGameTick()
int[][][]
getInstanceTemplateChunks()
ItemContainer
getItemContainer(InventoryId inventory)
ItemDefinition
getItemDef(int id)
WidgetChild
getMinimap()
int
getPlane()
int
getRootGUIWidgetIndex()
int
getSceneId()
Tile
getSceneTile()
Tile[][][]
getSceneTiles()
int
getSceneX()
int
getSceneY()
WidgetChild
getSelectedWidget()
java.awt.Rectangle
getViewport()
int
getViewportHeight()
int
getViewportWidth()
int
getViewportZoom()
boolean
isHideRoofsEnabled()
boolean
isResizableMode()
boolean
logout()
void
takeScreenshot()
Takes a screenshot and saves it to the /EpicBot/Screenshots folder.void
takeScreenshot(java.io.File file)
Takes a screenshot and saves it to given file location.
-
-
-
Method Detail
-
getGameTick
int getGameTick()
-
getGameCycle
int getGameCycle()
-
getGameState
GameState getGameState()
-
getRootGUIWidgetIndex
int getRootGUIWidgetIndex()
-
getSceneX
int getSceneX()
-
getSceneY
int getSceneY()
-
getPlane
int getPlane()
-
getSceneTile
Tile getSceneTile()
-
getSceneTiles
Tile[][][] getSceneTiles()
-
getSceneId
int getSceneId()
-
getCenterSceneTile
Tile getCenterSceneTile()
-
getMinimap
WidgetChild getMinimap()
-
getItemContainer
ItemContainer getItemContainer(InventoryId inventory)
-
isResizableMode
boolean isResizableMode()
-
isHideRoofsEnabled
boolean isHideRoofsEnabled()
-
getViewport
java.awt.Rectangle getViewport()
-
getViewportZoom
int getViewportZoom()
-
getViewportWidth
int getViewportWidth()
-
getViewportHeight
int getViewportHeight()
-
getInstanceTemplateChunks
int[][][] getInstanceTemplateChunks()
-
logout
boolean logout()
-
getItemDef
ItemDefinition getItemDef(int id)
-
getSelectedWidget
WidgetChild getSelectedWidget()
-
takeScreenshot
void takeScreenshot() throws java.io.IOException
Takes a screenshot and saves it to the /EpicBot/Screenshots folder.- Throws:
java.io.IOException
-
takeScreenshot
void takeScreenshot(java.io.File file) throws java.io.IOException
Takes a screenshot and saves it to given file location.- Parameters:
file
- screenshot file location- Throws:
java.io.IOException
-
-