Hierarchy

Constructors

Properties

Methods

autoOpenDialog bindElements bindSortable blurInputs cancelSorting clampDialogs closeAllContainers closeAllDialogs closeContainer closeContainerDialog closeDialog closeStaticContainers completeAddingMultipleItemsToContainer craftItem createCraftItemElements createItemString createSortMenu doHide doShow filterContainers focus getActiveContainer getContainerSortInfo getDefaultSortType getDialogContainerElementForFilter getDialogElementFromContainer getDialogIndex getDialogIndexByContainerElement getFilterElement getFilterText getHoveredItem getInventoryItemsInOrder getItemClass getMovementDirection getOpenContainers hasOpenContainer hide highlightItemElement highlightItemElementByItemId highlightItemElementByItemType highlightItemElementByItemTypeWithNoItemId highlightItemElementBySelector initializeGameState insertItemStringToContainer invalidateTableTargets isContainerDialogOver isContainerOpen isSorting isVisible makeActiveContainer makeTopDialog onActionBarSlotUpdate onContainerItemAdd onContainerItemRemove onDismantleItemClick onDropItem onFilterInput onGameEnd onGlobalMouseUpdateTarget onHide onItemEquipToggle onItemMove onItemOpen onItemProtectToggle onItemQuickMove onItemRename onKeyDown onKeyUp onMoreInformation onMouseDown onMouseMove onMouseScroll onMouseUpOrLeave onMove onNpcRemove onOpenDialog onReleaseDrop onShow onSortableItemReceive onStopItemMove onStopItemQuickMove onUpdateContainer openContainer openDialog openDialogs refreshContainerName runGlobalSortableAction runSortableAction saveItemOrder selector setupDialog show sortItems startAddingMultipleItemsToContainer syncDecayBar syncItemElements toggleCraftingTab toggleCraftingTabElements toggleDialog unSelectElements unbindElements updateActiveContainer updateContainerName updateCraftingDialog updateDismantleTab updateItem updateSort updateTablesDirty

Constructors

Properties

craftableItemTypes: undefined | ItemType[]
element: JQuery = ...
elementActions: JQuery
elementCanvas: JQuery
elementContainerDialogs: JQuery[] = []
elementDialogCrafting: JQuery
elementDialogCraftingButton: JQuery
elementDialogCraftingContainer: JQuery
elementDialogDismantleButton: JQuery
elementDialogDismantleContainer: JQuery
elementDialogInventory: JQuery
elementDialogInventoryContainer: JQuery
elementDialogs: JQuery
elementOtherDialogs: JQuery[] = []
elementVisibleInGame: JQuery
isQuickmoving: boolean = false
nonCraftableItemTypes: undefined | ItemType[]
overlayBindCatcherId: number
shouldCancelSorting: boolean = false
shouldResetMovement: boolean = false
visible: boolean = false

Methods

  • Parameters

    Returns boolean

  • Returns void

  • Parameters

    • element: JQuery

    Returns void

  • Returns void

  • Returns void

  • Returns void

  • Parameters

    • closeType: "close" | "destroy" = "close"

    Returns boolean

  • Returns boolean

  • Parameters

    Returns void

  • Parameters

    • Optional containerDialog: JQuery
    • closeType: "close" | "destroy" = "close"

    Returns void

  • Parameters

    • dialog: JQuery

    Returns boolean

  • Returns void

  • Call this after adding multiple items to a container. You must also call startAddingMultipleItemsToContainer before adding any items

    Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns string

  • Returns void

  • Returns void

  • Update the filtered items for each container, to be called when tables are updated. This does not update dismantle or crafting tabs.

    Returns void

  • Returns void

  • Returns undefined | IUiContainer

  • Gets the dialog container element for an inventory or item/doodad container.

    Parameters

    Returns undefined | JQuery

  • Gets the dialog element for an item/doodad container (bags, backpacks, chests, etc.) and not inventories dialogs.

    Parameters

    • value: unknown

      The container to check.

    Returns undefined | JQuery

  • Gets dialog index

    Returns

    string if it's a named dialog, Reference if it's a container, undefined if no dialog index was retrievable

    Parameters

    Returns undefined | DialogIndex

  • Gets dialog index

    Returns

    string if it's a named dialog, Reference if it's a container, undefined if no dialog index was retrievable

    Parameters

    • containerElement: JQuery

      Dialog container element

    Returns undefined | DialogIndex

  • Parameters

    • containerElement: JQuery

    Returns undefined | default

  • Parameters

    • containerElement: undefined | JQuery

    Returns undefined | string

  • Parameters

    Returns undefined | HTMLElement

  • Returns any[]

  • Parameters

    • mouseX: number
    • mouseY: number

    Returns Direction

  • Returns boolean

  • Returns void

  • Parameters

    • element: HTMLElement
    • highlight: boolean
    • force: boolean = false
    • skipCount: boolean = false

    Returns void

  • Parameters

    • itemId: number
    • highlight: boolean
    • force: boolean = false
    • skipCount: boolean = false

    Returns void

  • Parameters

    • itemType: ItemType
    • highlight: boolean
    • force: boolean = false
    • skipCount: boolean = false

    Returns void

  • Parameters

    • itemType: ItemType
    • highlight: boolean
    • force: boolean = false
    • skipCount: boolean = false

    Returns void

  • Parameters

    • selector: string
    • highlight: boolean
    • force: boolean = false
    • skipCount: boolean = false

    Returns void

  • Returns void

  • Parameters

    • itemElement: string | JQuery
    • containerElement: JQuery

    Returns void

  • Invalidates and updates mouse targets after 300 milliseconds (should be enough time to calculate all the new stuffs).

    Returns void

  • Parameters

    • dialogInfo: IDialogPosition
    • dialogPositions: IDialogPosition[]

    Returns boolean

  • Parameters

    • value: unknown

    Returns boolean

  • Returns boolean

  • Returns boolean

  • Parameters

    • dialog: JQuery

    Returns void

  • Parameters

    • dialog: JQuery

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Filtering for containers, inventory, crafting, etc.

    Parameters

    • containerElement: JQuery

      The jQuery element matching the container to filter.

    • Optional updateOnBlank: boolean

      True if items should be filtered when filter text is blank (useful for updates versus user input).

    Returns void

  • Returns void

  • Parameters

    Returns void

  • Returns void

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    • _event: JQueryEventObject
    • _keyCode: number
    • _blockable: boolean

    Returns undefined | boolean

  • Parameters

    • _event: JQueryEventObject
    • _keyCode: number
    • _blockable: boolean

    Returns undefined | boolean

  • Parameters

    Returns boolean

  • Parameters

    • _event: JQueryEventObject

    Returns void

  • Parameters

    • _event: JQueryEventObject

    Returns void

  • Parameters

    • _event: JQueryEventObject

    Returns void

  • Parameters

    • _event: JQueryEventObject

    Returns void

  • Returns void

  • Parameters

    Returns void

  • Parameters

    • dialog: JQuery

    Returns void

  • Returns void

  • Returns void

  • Parameters

    Returns void

  • Returns boolean

  • Parameters

    • containerElement: JQuery
    • activeSort: boolean

    Returns void

  • Parameters

    • dialog: JQuery

    Returns boolean

  • Returns void

  • Parameters

    • container: IContainer
    • nestedUpdate: boolean = false

    Returns void

  • Parameters

    • action: string
    • Rest ...data: any[]

    Returns void

  • Parameters

    • sortable: JQuery
    • action: string
    • Rest ...data: any[]

    Returns void

  • Parameters

    • containerElement: JQuery
    • activeSort: boolean = false

    Returns void

  • Returns string

  • Parameters

    Returns DialogOptions

  • Parameters

    • Optional data: any

    Returns void

  • Parameters

    Returns void

  • Call this before starting to add items to a container

    Parameters

    Returns void

  • Parameters

    • item: default
    • force: boolean = false
    • Optional element: null | HTMLElement

    Returns void

  • Parameters

    • itemIds: number | number[]
    • forceSyncDecay: boolean = false

    Returns void

  • Parameters

    • which: "crafting" | "dismantle"
    • canClose: boolean = true

    Returns void

  • Parameters

    • which: "crafting" | "dismantle"

    Returns void

  • Parameters

    • dialog: JQuery

    Returns boolean

  • Returns void

  • Returns void

  • Returns void

  • Parameters

    • containerDialogElement: JQuery
    • nestedUpdate: boolean = false

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • item: default
    • Optional updateChildren: boolean

    Returns void

  • Parameters

    • containerElement: JQuery
    • activeSort: boolean

    Returns void

  • Will force an update on crafting and dismantle tables based on dirty variables.

    Parameters

    • Optional which: "crafting" | "dismantle"

    Returns void

Generated using TypeDoc