mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console.permission
/
PermissionId
/
Companion
/
parseFromString
parse
From
String
@
JvmStatic
fun
parseFromString
(
string
:
String
)
:
PermissionId
由
$namespace:$id
解析
PermissionId
.
Throws
Illegal
Argument
Exception
在解析失败时抛出.