ItemContainerUiHandler
Hierarchy
- UiAbstractContainer
- ItemContainerUiHandler
Index
Methods
addElementInstance
Parameters
element: IElement
name: string
Returns void
applyAllBindingsFromMap
Returns void
close
Returns void
getBinding
Type parameters
- T = any
Parameters
element: string
bindingName: string
Returns IElement | T | Rect
getElement
Parameters
elementName: string
Returns IElement
getParent
Returns ItemContainer
getSlotVisualImpl
Parameters
slotName: string
Returns UiVisualSlotImpl
getWindow
Returns IWindow
handleBindingDirty
Parameters
elementName: string
bindingName: string
Returns void
handleInventoryToSlotTransaction
Parameters
inventorySlot: number
slot: string
amount: number
Returns void
handleSlotToInventoryTransaction
Parameters
slot: string
amount: number
Returns void
handleSlotToSlotTransaction
Parameters
slot1: string
slot2: string
amount: number
Returns void
onWindowClosed
Returns void
openAs
Parameters
window: IWindow
Returns void
receiveBindingsFromServer
Parameters
bindings: JSONObject
Returns void
setBinding
Type parameters
- T
Parameters
element: string
bindingName: string
obj: T
Returns void
setBindingByComposedName
Parameters
name: string
value: PrimitiveTypes
Returns void