Docs
Preparing search index...
The search index is not available
Core Engine - v2.4.0b122
Core Engine
UI
UiAbstractContainer
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
)
UiAbstractContainer
ItemContainerUiHandler
Implemented by
Container
Index
Methods
add
Element
Instance
close
get
Binding
get
Element
get
Parent
get
Slot
Visual
Impl
handle
Binding
Dirty
handle
Inventory
To
Slot
Transaction
handle
Slot
To
Inventory
Transaction
handle
Slot
To
Slot
Transaction
on
Window
Closed
open
As
set
Binding
Methods
add
Element
Instance
add
Element
Instance
(
element
,
name
)
:
void
Parameters
element
:
IElement
name
:
string
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
(
)
:
any
Returns
any
get
Slot
Visual
Impl
get
Slot
Visual
Impl
(
slotName
)
:
UiVisualSlotImpl
Parameters
slotName
:
string
Returns
UiVisualSlotImpl
handle
Binding
Dirty
handle
Binding
Dirty
(
element
,
bindingName
)
:
void
Parameters
element
:
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
set
Binding
set
Binding
<
T
>
(
element
,
bindingName
,
obj
)
:
void
Type Parameters
T
Parameters
element
:
string
bindingName
:
string
obj
:
T
Returns
void
Settings
Member Visibility
Inherited
Protected
Internal
Deprecated
Theme
OS
Light
Dark
On This Page
Methods
add
Element
Instance
close
get
Binding
get
Element
get
Parent
get
Slot
Visual
Impl
handle
Binding
Dirty
handle
Inventory
To
Slot
Transaction
handle
Slot
To
Inventory
Transaction
handle
Slot
To
Slot
Transaction
on
Window
Closed
open
As
set
Binding
Docs
Core Engine - v2.4.0b122
Loading...
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and
TypeDoc
.