Interface IGameAPI


public interface IGameAPI
  • 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()
    • getItemContainer

      ItemContainer getItemContainer(InventoryId inventory)
    • 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

      ItemDefinition getItemDef(int id)
    • getSelectedWidget

      WidgetChild getSelectedWidget()
    • takeScreenshot

      void takeScreenshot() throws IOException
      Takes a screenshot and saves it to the /EpicBot/Screenshots folder.
      Throws:
      IOException
    • takeScreenshot

      void takeScreenshot(File file) throws IOException
      Takes a screenshot and saves it to given file location.
      Parameters:
      file - screenshot file location
      Throws:
      IOException