Class OnLuaScriptExecuteEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnLuaScriptExecuteEvent

public abstract class OnLuaScriptExecuteEvent extends Event
Triggered when Lua script loaded.
  • Constructor Details

    • OnLuaScriptExecuteEvent

      public OnLuaScriptExecuteEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(String filePath, boolean isRewriteEvents)
      Called Event Handling Method
      Parameters:
      filePath - Path to Lua file
      isRewriteEvents - Flag indicating whether Lua events have been overwritten