Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OptionsScreen

Hierarchy

Implements

Index

Constructors

constructor

Properties

element

element: JQuery = $(this.selector())

elementBindDefault

elementBindDefault: JQuery

elementBindDefaultParent

elementBindDefaultParent: JQuery

elementBindList

elementBindList: JQuery

elementLanguageSelect

elementLanguageSelect: JQuery

elementOverlay

elementOverlay: JQuery

elementTitleScreenOptions

elementTitleScreenOptions: JQuery

visible

visible: boolean = false

Methods

addOptionsSection

  • addOptionsSection(translationId: string): JQuery
  • Parameters

    • translationId: string

    Returns JQuery

bindElements

  • bindElements(): void

doHide

  • doHide(): void
  • Returns void

doShow

  • doShow(): void
  • Returns void

hide

  • hide(): void

isVisible

  • isVisible(): boolean

onClickButton

  • onClickButton(element: JQuery, id: string): void
  • Parameters

    • element: JQuery
    • id: string

    Returns void

onClickButtonChoice

  • onClickButtonChoice(element: JQuery, id: string): void
  • Parameters

    • element: JQuery
    • id: string

    Returns void

onClickCheckbox

  • onClickCheckbox(element: JQuery, id: string): void
  • Parameters

    • element: JQuery
    • id: string

    Returns void

onClickKeyBindDefault

  • onClickKeyBindDefault(): void
  • Returns void

onClickKeybind

  • onClickKeybind(element: JQuery, id: KeyBind.Up | KeyBind.Down | KeyBind.Left | KeyBind.Right | KeyBind.Idle | KeyBind.One | KeyBind.Two | KeyBind.Three | KeyBind.Four | KeyBind.Five | KeyBind.Six | KeyBind.Seven | KeyBind.Eight | KeyBind.Nine | KeyBind.Escape | KeyBind.Inventory | KeyBind.Help | KeyBind.Skills | KeyBind.Messages | KeyBind.Options | KeyBind.Alt | KeyBind.Shift | KeyBind.Equipment | KeyBind.Crafting | KeyBind.Dismantle | KeyBind.Actions | KeyBind.Milestones | KeyBind.Enter | KeyBind.Ten | KeyBind.Eleven | KeyBind.Twelve | KeyBind.PrimaryMouse | KeyBind.SecondaryMouse | KeyBind.Touch | KeyBind.LeftHand | KeyBind.RightHand | KeyBind.Chat | KeyBind.Thirteen): void
  • Parameters

    • element: JQuery
    • id: KeyBind.Up | KeyBind.Down | KeyBind.Left | KeyBind.Right | KeyBind.Idle | KeyBind.One | KeyBind.Two | KeyBind.Three | KeyBind.Four | KeyBind.Five | KeyBind.Six | KeyBind.Seven | KeyBind.Eight | KeyBind.Nine | KeyBind.Escape | KeyBind.Inventory | KeyBind.Help | KeyBind.Skills | KeyBind.Messages | KeyBind.Options | KeyBind.Alt | KeyBind.Shift | KeyBind.Equipment | KeyBind.Crafting | KeyBind.Dismantle | KeyBind.Actions | KeyBind.Milestones | KeyBind.Enter | KeyBind.Ten | KeyBind.Eleven | KeyBind.Twelve | KeyBind.PrimaryMouse | KeyBind.SecondaryMouse | KeyBind.Touch | KeyBind.LeftHand | KeyBind.RightHand | KeyBind.Chat | KeyBind.Thirteen

    Returns void

onGameEnd

  • onGameEnd(showBlocker: boolean): void

onHide

  • onHide(): void
  • Returns void

onKeyDown

  • onKeyDown(event: JQueryEventObject, keyCode: number, blockable: boolean): boolean | undefined
  • Parameters

    • event: JQueryEventObject
    • keyCode: number
    • blockable: boolean

    Returns boolean | undefined

onKeyUp

  • onKeyUp(event: JQueryEventObject): boolean | undefined
  • Parameters

    • event: JQueryEventObject

    Returns boolean | undefined

onMouseDown

  • onMouseDown(event: JQueryEventObject): void

onMouseMove

  • onMouseMove(event: JQueryEventObject): void

onMouseScroll

  • onMouseScroll(event: JQueryEventObject): void

onMouseUpOrLeave

  • onMouseUpOrLeave(event: JQueryEventObject): void

onRangeChange

  • onRangeChange(element: JQuery, id: string, value: number): void
  • Parameters

    • element: JQuery
    • id: string
    • value: number

    Returns void

onShow

  • onShow(): void
  • Returns void

removeOptionsSection

  • removeOptionsSection(optionsSection: JQuery): void
  • Parameters

    • optionsSection: JQuery

    Returns void

resetBindState

  • resetBindState(setDefault?: boolean): KeyBind.Up | KeyBind.Down | KeyBind.Left | KeyBind.Right | KeyBind.Idle | KeyBind.One | KeyBind.Two | KeyBind.Three | KeyBind.Four | KeyBind.Five | KeyBind.Six | KeyBind.Seven | KeyBind.Eight | KeyBind.Nine | KeyBind.Escape | KeyBind.Inventory | KeyBind.Help | KeyBind.Skills | KeyBind.Messages | KeyBind.Options | KeyBind.Alt | KeyBind.Shift | KeyBind.Equipment | KeyBind.Crafting | KeyBind.Dismantle | KeyBind.Actions | KeyBind.Milestones | KeyBind.Enter | KeyBind.Ten | KeyBind.Eleven | KeyBind.Twelve | KeyBind.PrimaryMouse | KeyBind.SecondaryMouse | KeyBind.Touch | KeyBind.LeftHand | KeyBind.RightHand | KeyBind.Chat | KeyBind.Thirteen | undefined
  • Parameters

    • Default value setDefault: boolean = false

    Returns KeyBind.Up | KeyBind.Down | KeyBind.Left | KeyBind.Right | KeyBind.Idle | KeyBind.One | KeyBind.Two | KeyBind.Three | KeyBind.Four | KeyBind.Five | KeyBind.Six | KeyBind.Seven | KeyBind.Eight | KeyBind.Nine | KeyBind.Escape | KeyBind.Inventory | KeyBind.Help | KeyBind.Skills | KeyBind.Messages | KeyBind.Options | KeyBind.Alt | KeyBind.Shift | KeyBind.Equipment | KeyBind.Crafting | KeyBind.Dismantle | KeyBind.Actions | KeyBind.Milestones | KeyBind.Enter | KeyBind.Ten | KeyBind.Eleven | KeyBind.Twelve | KeyBind.PrimaryMouse | KeyBind.SecondaryMouse | KeyBind.Touch | KeyBind.LeftHand | KeyBind.RightHand | KeyBind.Chat | KeyBind.Thirteen | undefined

selector

  • selector(): string

setButtonChoiceValue

  • setButtonChoiceValue(id: string, firstSelected: boolean): void
  • Parameters

    • id: string
    • firstSelected: boolean

    Returns void

show

  • show(data?: any): void
  • Parameters

    • Optional data: any

    Returns void

unbindElements

  • unbindElements(): void

updateBind

  • updateBind(key: KeyBind.Up | KeyBind.Down | KeyBind.Left | KeyBind.Right | KeyBind.Idle | KeyBind.One | KeyBind.Two | KeyBind.Three | KeyBind.Four | KeyBind.Five | KeyBind.Six | KeyBind.Seven | KeyBind.Eight | KeyBind.Nine | KeyBind.Escape | KeyBind.Inventory | KeyBind.Help | KeyBind.Skills | KeyBind.Messages | KeyBind.Options | KeyBind.Alt | KeyBind.Shift | KeyBind.Equipment | KeyBind.Crafting | KeyBind.Dismantle | KeyBind.Actions | KeyBind.Milestones | KeyBind.Enter | KeyBind.Ten | KeyBind.Eleven | KeyBind.Twelve | KeyBind.PrimaryMouse | KeyBind.SecondaryMouse | KeyBind.Touch | KeyBind.LeftHand | KeyBind.RightHand | KeyBind.Chat | KeyBind.Thirteen, element: JQuery): void
  • Parameters

    • key: KeyBind.Up | KeyBind.Down | KeyBind.Left | KeyBind.Right | KeyBind.Idle | KeyBind.One | KeyBind.Two | KeyBind.Three | KeyBind.Four | KeyBind.Five | KeyBind.Six | KeyBind.Seven | KeyBind.Eight | KeyBind.Nine | KeyBind.Escape | KeyBind.Inventory | KeyBind.Help | KeyBind.Skills | KeyBind.Messages | KeyBind.Options | KeyBind.Alt | KeyBind.Shift | KeyBind.Equipment | KeyBind.Crafting | KeyBind.Dismantle | KeyBind.Actions | KeyBind.Milestones | KeyBind.Enter | KeyBind.Ten | KeyBind.Eleven | KeyBind.Twelve | KeyBind.PrimaryMouse | KeyBind.SecondaryMouse | KeyBind.Touch | KeyBind.LeftHand | KeyBind.RightHand | KeyBind.Chat | KeyBind.Thirteen
    • element: JQuery

    Returns void

Generated using TypeDoc