toggle menu
Simple Robot
3.3.0
jvm
switch theme
search in API
simbot-api
/
love.forte.simbot.definition
/
Category
/
Companion
Companion
object
Companion
(
source
)
Members
Functions
invoke
Link copied to clipboard
@
JvmStatic
@
JvmName
(
name
=
"of"
)
operator
fun
invoke
(
nameAlsoId
:
String
)
:
SimpleCategory
@
JvmStatic
@
JvmName
(
name
=
"of"
)
@
JvmOverloads
operator
fun
invoke
(
id
:
ID
,
name
:
String
=
id.literal
)
:
SimpleCategory
根据参数构建一个
SimpleCategory
实例。