Hierarchy

Constructors

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

Generated using TypeDoc