Interface IScriptAPI


  • public interface IScriptAPI
    • Method Detail

      • getScript

        Script getScript()
      • resume

        void resume()
      • pause

        void pause​(java.lang.String reason)
      • stop

        void stop​(java.lang.String reason)
      • isRunning

        boolean isRunning()
      • isPaused

        boolean isPaused()
      • isStopping

        boolean isStopping()
      • isInputEnabled

        boolean isInputEnabled()
      • getSettingsDirectory

        java.io.File getSettingsDirectory()
        Get the settings directory for this script.
        Returns:
        the directory, for example C:/Users/John/EpicBot/ScriptSettings/Pro Agility/
      • getScriptProfile

        java.util.Optional<java.io.File> getScriptProfile()
        Get the profile/settings this script was started with by the @Override script scheduler.
        Returns:
        File
      • logger

        org.apache.logging.log4j.Logger logger()