Docs
Preparing search index...
The search index is not available
Core Engine - v2.4.0b122
Core Engine
ItemContainerUiHandler
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
)
UiAbstractContainer
ItemContainerUiHandler
Index
Methods
add
Element
Instance
apply
All
Bindings
From
Map
close
get
Binding
get
Element
get
Parent
get
Slot
Visual
Impl
get
Window
handle
Binding
Dirty
handle
Inventory
To
Slot
Transaction
handle
Slot
To
Inventory
Transaction
handle
Slot
To
Slot
Transaction
on
Window
Closed
open
As
receive
Bindings
From
Server
set
Binding
set
Binding
By
Composed
Name
Methods
add
Element
Instance
add
Element
Instance
(
element
,
name
)
:
void
Parameters
element
:
IElement
name
:
string
Returns
void
apply
All
Bindings
From
Map
apply
All
Bindings
From
Map
(
)
:
void
Returns
void
close
close
(
)
:
void
Returns
void
get
Binding
get
Binding
<
T
>
(
element
,
bindingName
)
:
Rect
|
IElement
|
T
Type Parameters
T
=
any
Parameters
element
:
string
bindingName
:
string
Returns
Rect
|
IElement
|
T
get
Element
get
Element
(
elementName
)
:
IElement
Parameters
elementName
:
string
Returns
IElement
get
Parent
get
Parent
(
)
:
ItemContainer
Returns
ItemContainer
get
Slot
Visual
Impl
get
Slot
Visual
Impl
(
slotName
)
:
UiVisualSlotImpl
Parameters
slotName
:
string
Returns
UiVisualSlotImpl
get
Window
get
Window
(
)
:
IWindow
Returns
IWindow
handle
Binding
Dirty
handle
Binding
Dirty
(
elementName
,
bindingName
)
:
void
Parameters
elementName
:
string
bindingName
:
string
Returns
void
handle
Inventory
To
Slot
Transaction
handle
Inventory
To
Slot
Transaction
(
inventorySlot
,
slot
,
amount
)
:
void
Parameters
inventorySlot
:
number
slot
:
string
amount
:
number
Returns
void
handle
Slot
To
Inventory
Transaction
handle
Slot
To
Inventory
Transaction
(
slot
,
amount
)
:
void
Parameters
slot
:
string
amount
:
number
Returns
void
handle
Slot
To
Slot
Transaction
handle
Slot
To
Slot
Transaction
(
slot1
,
slot2
,
amount
)
:
void
Parameters
slot1
:
string
slot2
:
string
amount
:
number
Returns
void
on
Window
Closed
on
Window
Closed
(
)
:
void
Returns
void
open
As
open
As
(
window
)
:
void
Parameters
window
:
IWindow
Returns
void
receive
Bindings
From
Server
receive
Bindings
From
Server
(
bindings
)
:
void
Parameters
bindings
:
JSONObject
Returns
void
set
Binding
set
Binding
<
T
>
(
element
,
bindingName
,
obj
)
:
void
Type Parameters
T
Parameters
element
:
string
bindingName
:
string
obj
:
T
Returns
void
set
Binding
By
Composed
Name
set
Binding
By
Composed
Name
(
name
,
value
)
:
void
Parameters
name
:
string
value
:
PrimitiveTypes
Returns
void
Settings
Member Visibility
Inherited
Protected
Internal
Deprecated
Theme
OS
Light
Dark
On This Page
Methods
add
Element
Instance
apply
All
Bindings
From
Map
close
get
Binding
get
Element
get
Parent
get
Slot
Visual
Impl
get
Window
handle
Binding
Dirty
handle
Inventory
To
Slot
Transaction
handle
Slot
To
Inventory
Transaction
handle
Slot
To
Slot
Transaction
on
Window
Closed
open
As
receive
Bindings
From
Server
set
Binding
set
Binding
By
Composed
Name
Docs
Core Engine - v2.4.0b122
Loading...
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and
TypeDoc
.