Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OldUi

Hierarchy

  • OldUi

Index

Constructors

constructor

  • Returns OldUi

Properties

screenInGame

screenInGame: InGameScreen

Methods

addItemToContainer

  • addItemToContainer(item: Item, container: IContainer, internal?: boolean, isAddingMultipleItems?: boolean, updateTables?: boolean): void
  • Parameters

    • item: Item
    • container: IContainer
    • Default value internal: boolean = false
    • Default value isAddingMultipleItems: boolean = false
    • Default value updateTables: boolean = true

    Returns void

afterAddingMultipleItemsToContainer

  • afterAddingMultipleItemsToContainer(container: IContainer): void
  • Parameters

    Returns void

cancelSorting

  • cancelSorting(): void
  • Returns void

changeEquipmentOption

  • changeEquipmentOption(id: "leftHand" | "rightHand"): void
  • Parameters

    • id: "leftHand" | "rightHand"

    Returns void

closeAllContainers

  • closeAllContainers(): void
  • Returns void

closeContainer

  • Parameters

    Returns void

filterContainers

  • filterContainers(): void
  • Returns void

getBody

  • Returns JQuery

getDialogInfo

  • Parameters

    • dialogId: DialogId

    Returns IDialogInfo

getHeight

  • getHeight(): number
  • Returns number

getInventoryItemOrder

  • getInventoryItemOrder(): any[]
  • Returns any[]

getSerializationProperties

  • getSerializationProperties(_: string): string[]
  • Parameters

    • _: string

    Returns string[]

getUsedQuickSlots

  • getUsedQuickSlots(): number[]
  • Returns number[]

getWidth

  • getWidth(): number
  • Returns number

hideActionsMenu

  • hideActionsMenu(): void
  • Returns void

hideContextMenu

  • hideContextMenu(): void
  • Returns void

hideInGameScreen

  • hideInGameScreen(): void
  • Returns void

initialize

  • initialize(): void
  • Returns void

initializeGameState

  • initializeGameState(): void
  • Returns void

isContainerOpen

  • Parameters

    Returns boolean

isContextMenuOpen

  • isContextMenuOpen(): boolean
  • Returns boolean

isInGameScreenShown

  • isInGameScreenShown(): boolean
  • Returns boolean

isOptionsOverlayEnabled

  • isOptionsOverlayEnabled(): boolean
  • Returns boolean

isOptionsOverlayShown

  • isOptionsOverlayShown(): boolean
  • Returns boolean

loadQuickSlots

  • loadQuickSlots(): void
  • Returns void

onGameEnd

  • onGameEnd(): void
  • Returns void

onMove

  • onMove(): void
  • Returns void

onUpdateDirection

  • onUpdateDirection(): void
  • Returns void

onWindowResize

  • onWindowResize(): void
  • Returns void

openContainer

  • openContainer(container: IContainer, containerName?: undefined | string): void
  • Parameters

    • container: IContainer
    • Optional containerName: undefined | string

    Returns void

openDialogs

  • openDialogs(): void
  • Returns void

playClickSound

  • playClickSound(): void
  • Returns void

refreshContainerName

  • refreshContainerName(container: IContainer): void
  • Parameters

    Returns void

refreshQuickSlots

  • refreshQuickSlots(): void
  • Returns void

removeItemFromContainer

  • Parameters

    Returns void

removeItemFromEquipSlot

  • removeItemFromEquipSlot(equip: EquipType): void
  • Parameters

    Returns void

removeItemFromQuickSlot

  • removeItemFromQuickSlot(itemId: number): void
  • Parameters

    • itemId: number

    Returns void

setCheckboxValue

  • setCheckboxValue(element: JQuery, id: string, checked: boolean): void
  • Parameters

    • element: JQuery
    • id: string
    • checked: boolean

    Returns void

setEquipSlot

  • setEquipSlot(equip: EquipType, itemId: number, internal?: boolean): void
  • Parameters

    • equip: EquipType
    • itemId: number
    • Default value internal: boolean = false

    Returns void

setQuickSlot

  • setQuickSlot(quickSlot: number, itemId: number, internal?: boolean): void
  • Parameters

    • quickSlot: number
    • itemId: number
    • Default value internal: boolean = false

    Returns void

setVersionExtra

  • setVersionExtra(msg: string): void
  • Parameters

    • msg: string

    Returns void

shouldRefreshMods

  • shouldRefreshMods(): boolean
  • Returns boolean

syncAllItems

  • syncAllItems(): void
  • Returns void

syncDecayBar

  • syncDecayBar(item: Item, syncDamage?: undefined | false | true): void
  • Parameters

    • item: Item
    • Optional syncDamage: undefined | false | true

    Returns void

toggleUIDisplay

  • toggleUIDisplay(hide: boolean): void
  • Parameters

    • hide: boolean

    Returns void

tooltipRefresh

  • tooltipRefresh(): void
  • Returns void

updateCraftingDialog

  • updateCraftingDialog(craftableItemTypes: ItemType[], nonCraftableItemTypes: ItemType[]): void
  • Parameters

    Returns void

updateDismantleTab

  • Parameters

    Returns void

updateInventorySort

  • updateInventorySort(): void
  • Returns void

updateItem

  • updateItem(item: Item, updateChildren?: undefined | false | true): void
  • Parameters

    • item: Item
    • Optional updateChildren: undefined | false | true

    Returns void

Generated using TypeDoc