Class PackageLib.lua_searcher

All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
Enclosing class:
PackageLib

public static class PackageLib.lua_searcher extends VarArgFunction implements com.esotericsoftware.kryo.KryoSerializable
Called second Calls _G.package.searchpath(name, _G.package.path) and then globals.loadfile() if found
  • Method Details

    • write

      public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output)
      Specified by:
      write in interface com.esotericsoftware.kryo.KryoSerializable
      Overrides:
      write in class LibFunction
    • read

      public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input)
      Specified by:
      read in interface com.esotericsoftware.kryo.KryoSerializable
      Overrides:
      read in class LibFunction
    • invoke

      public Varargs invoke(Varargs args)
      Description copied from class: VarArgFunction
      Subclass responsibility. May not have expected behavior for tail calls. Should not be used if: - function has a possibility of returning a TailcallVarargs
      Overrides:
      invoke in class VarArgFunction
      Parameters:
      args - the arguments to the function call.