@minecraft
原文
参与翻译
正在准备搜索索引...
server-editor
ModalDialogActivationParams
类型别名 ModalDialogActivationParams<T>
ModalDialogActivationParams
:
{
dialogId
:
T
;
onResponse
?:
(
payload
:
|
(
T
extends
CoreModalDialogType
?
ModalDialogCoreResponseType
[
T
]
:
ModalDialogCustomResponse
)
|
ModalDialogDismissResponse
,
)
=>
void
;
}
&
(
T
extends
CoreModalDialogType
?
{
data
:
ModalDialogRequestData
[
T
]
}
:
{
data
?:
never
}
)
Parameters required to activate a modal dialog instance
类型参数
T
extends
CoreModalDialogType
|
string
显示设置
成员可见性
受保护
继承
外部
世界修改
配色
自动
浅色
深色
原文
参与翻译
@minecraft
加载中……
Parameters required to activate a modal dialog instance