Hierarchy

Constructors

  • Parameters

    • name: string

      The internal name of the module.

    • displayName: string

      The display name of the module. Shown in the ClickGUI.

    • description: string

      A short description of what the module does.

    • key: KeyCode

      The default keybind to activate the module.

    Returns Module

Properties

description: string
displayName: string
id: number

IDs for script modules are always 255.

key: KeyCode
name: string
on: (<K>(eventName, handler) => void)

Type declaration

    • <K>(eventName, handler): void
    • Type Parameters

      Parameters

      Returns void

visible: boolean

If the module is visible in the ClickGui

visual: boolean

If the module is a HUD module (that you can move in the hud editor)

Methods

  • Adds a setting.

    Parameters

    • name: string

      The internal name

    • displayName: string

      The name that shows in the menu

    • description: string

      A short description of what the setting does

    • defVal: boolean

      The default value

    Returns Setting

  • Adds a setting. *

    Parameters

    • name: string

      The internal name *

    • displayName: string

      The name that shows in the menu *

    • description: string

      A short description of what the setting does *

    • defVal: Color

      The default value

    Returns Setting

  • Adds a setting. *

    Parameters

    • name: string

      The internal name *

    • displayName: string

      The name that shows in the menu *

    • description: string

      A short description of what the setting does *

    • defVal: KeyCode

      The default value

    Returns Setting

  • Adds a setting.

    Parameters

    • name: string

      The internal name

    • displayName: string

      The name that shows in the menu

    • description: string

      A short description of what the setting does

    • min: number

      The minimum value

    • max: number

      The maximum value

    • interval: number

      The precision of the setting

    • defVal: number

      The default value

    Returns Setting

  • Adds a setting. *

    Parameters

    • name: string

      The internal name *

    • displayName: string

      The name that shows in the menu *

    • description: string

      A short description of what the setting does *

    • defVal: string

      The default value

    Returns Setting

  • Set the module to be enabled or not.

    Parameters

    • b: boolean

      The new status of the module.

    Returns void

Generated using TypeDoc