Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Module

Runtime Module.

Hierarchy

  • Module

Implements

Index

Constructors

constructor

Methods

dispose

  • dispose(): void

getFunction

  • Get a function in the module.

    Parameters

    • name: string

      The name of the function.

    Returns PackedFunc

    The result function.

getHandle

  • getHandle(requireNotNull?: boolean): Pointer
  • Get handle of module, check it is not null.

    Parameters

    • Default value requireNotNull: boolean = true

      require handle is not null.

    Returns Pointer

    The handle.

importModule

  • importModule(mod: Module): void
  • Import another module into the current runtime module.

    Parameters

    • mod: Module

      The module to be imported.

    Returns void

Generated using TypeDoc