Interface ScriptLoader.ScriptLoadEvent

All Superinterfaces:
Event, Script.Event, ScriptLoader.LoaderEvent
Enclosing class:
ScriptLoader
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ScriptLoader.ScriptLoadEvent extends ScriptLoader.LoaderEvent, Script.Event
Called when a Script is loaded in the ScriptLoader. This event will trigger after the script is completely loaded (Structure initialization finished).
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onLoad(ParserInstance parser, Script script)
    The method that is called when this event triggers.
  • Method Details

    • onLoad

      void onLoad(ParserInstance parser, Script script)
      The method that is called when this event triggers.
      Parameters:
      parser - The ParserInstance handling the loading of script.
      script - The Script being loaded.