Class Module

Runtime Module.

Hierarchy

  • Module

Implements

Constructors

Methods

  • Dispose the internal resource This function can be called multiple times, only the first call will take effect.

    Returns void

  • Get a function in the module.

    Parameters

    • name: string

      The name of the function.

    • queryImports: boolean = true

      Whether to also query imports

    Returns PackedFunc

    The result function.

  • Get handle of module, check it is not null.

    Parameters

    • requireNotNull: boolean = true

      require handle is not null.

    Returns number

    The handle.

  • Import another module into the current runtime module.

    Parameters

    • mod: Module

      The module to be imported.

    Returns void

Generated using TypeDoc