Class Script

    • Field Detail

      • injector

        protected final com.google.inject.Injector injector
    • Constructor Detail

      • Script

        public Script()
    • Method Detail

      • getDataDirectory

        public static java.nio.file.Path getDataDirectory()
      • createInjector

        protected com.google.inject.Injector createInjector()
      • loop

        public abstract int loop()
      • isInterruptable

        public boolean isInterruptable()
      • canBreak

        public boolean canBreak()
      • isPassiveForceEnabled

        public boolean isPassiveForceEnabled​(ScriptMeta meta)
      • onStart

        public void onStart​(com.google.gson.JsonElement args)
      • processArgs

        public void processArgs​(java.lang.String args)
      • onFinish

        public void onFinish()
      • setState

        public final void setState​(Script.State state)
      • setState

        public final void setState​(Script.State state,
                                   java.lang.String args)
      • setAccount

        public void setAccount​(GameAccount account)