Class OptionCommand

An option command sent from the server to describe an option, it's type, it's name and it's default value.

Hierarchy

Constructors

Properties

Constructors

  • Parameters

    • name: string

      The option name.

    • kind: "string" | "button" | "check" | "spin" | "combo"

      The option type.

    • Optional min: number

      The minimum value.

    • Optional max: number

      The maximum value.

    • Optional options: string[]

      The combo options.

    • Optional defaultValue: string | number | boolean

      The default value.

    Returns OptionCommand

Properties

defaultValue?: string | number | boolean

The default value.

kind: "string" | "button" | "check" | "spin" | "combo"

The option type.

max?: number

The maximum value.

min?: number

The minimum value.

name: string

The option name.

options?: string[]

The combo options.

Generated using TypeDoc