Interface ItemContainerUiHandler

interface ItemContainerUiHandler {
    addElementInstance(element: IElement, name: string): void;
    applyAllBindingsFromMap(): void;
    close(): void;
    getBinding<T>(element: string, bindingName: string): Rect | IElement | T;
    getElement(elementName: string): IElement;
    getParent(): ItemContainer;
    getSlotVisualImpl(slotName: string): UiVisualSlotImpl;
    getWindow(): IWindow;
    handleBindingDirty(elementName: 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;
    receiveBindingsFromServer(bindings: JSONObject): void;
    setBinding<T>(element: string, bindingName: string, obj: T): void;
    setBindingByComposedName(name: string, value: PrimitiveTypes): void;
}

Hierarchy (view full)

Methods

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