simple-robot
3.0.0-RC.2
simbot-api
/
love.forte.simbot.application
/
Application
/
Environment
/
getComponent
get
Component
abstract
fun
getComponent
(
id
:
String
)
:
Component
尝试根据ID获取一个指定的组件对象。如果未找到则会抛出
NoSuchComponentException
.
Throws
No
Such
Component
Exception
当没有找到目标ID的组件时