Interface UiAbstractContainer

interface UiAbstractContainer {
    addElementInstance(element: IElement, name: string): void;
    close(): void;
    getBinding<T>(element: string, bindingName: string): Rect | IElement | T;
    getElement(elementName: string): IElement;
    getParent(): any;
    getSlotVisualImpl(slotName: string): UiVisualSlotImpl;
    handleBindingDirty(element: string, bindingName: string): void;
    handleInventoryToSlotTransaction(inventorySlot: number, slot: string, amount: number): void;
    handleSlotToInventoryTransaction(slot: string, amount: number): void;
    handleSlotToSlotTransaction(slot1: string, slot2: string, amount: number): void;
    onWindowClosed(): void;
    openAs(window: IWindow): void;
    setBinding<T>(element: string, bindingName: string, obj: T): void;
}

Hierarchy (view full)

Implemented by

Methods

  • Parameters

    • element: string
    • bindingName: string

    Returns void

  • Parameters

    • inventorySlot: number
    • slot: string
    • amount: number

    Returns void

  • Parameters

    • slot: string
    • amount: number

    Returns void

  • Parameters

    • slot1: string
    • slot2: string
    • amount: number

    Returns void

  • Type Parameters

    • T

    Parameters

    • element: string
    • bindingName: string
    • obj: T

    Returns void

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.