Hierarchy

Constructors

Properties

event: IEventEmitter<Ui, IUiEvents> = ...
highlights: default = ...
hudWidth: default = ...
loadingBridge: default = ...
promptsBridge: default = ...
saveDropHandler: default = ...
scale: default = ...
screens: default = ...
selection: default = ...
serverJoinHandler: default = ...
tooltips: default = ...
versionText: undefined | default<HTMLElement> = ...
viewport: default = ...

Accessors

  • get windowHeight(): number
  • Returns number

  • get windowWidth(): number
  • Returns number

Methods

  • Parameters

    • path: string

    Returns void

  • Parameters

    • enabled: boolean

    Returns void

  • Returns 0 | 30

  • Returns void

  • Returns boolean

  • Returns void

  • Returns void

  • Parameters

    • _: any
    • language: string

    Returns void

  • Returns void

  • Returns boolean

  • Returns boolean

  • Returns void

  • Parameters

    Returns Promise<void>

  • Returns boolean

  • Returns boolean

  • Returns void

  • Returns void

  • Parameters

    • sound: "input" | "open" | "select" | "close" | "invalid" | SfxType | "activate" | "choose" | "disable" | "enable" | "inputdelete" | "opensmall" | "protect" | "unprotect"

    Returns void

  • Parameters

    • Rest ...elements: (undefined | HTMLElement | default<HTMLElement>)[]

      The elements to refresh translations inside

    Returns void

  • Registers an object as a "data host", which allows its fields to be saved to saveData or saveDataGlobal

    Parameters

    • id: string | number
    • host: any

    Returns void

  • Returns void

  • Returns void

  • Parameters

    • path: string

    Returns void

  • Parameters

    • opacity: number = ...
    • save: boolean = true

      Whether or not to save the new scale into options. Defaults to true.

    Returns void

  • Parameters

    • owner: default<HTMLElement>
    • Rest ...components: default<HTMLElement>[]

    Returns void

  • Parameters

    • enabled: boolean

    Returns Ui

  • Toggles fullscreen

    Returns void

  • Parameters

    • Optional fullscreen: boolean

      Whether or not fullscreen is enabled

    Returns void

  • Toggle health vignette

    Parameters

    • healthVignette: boolean

    Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns void

Generated using TypeDoc