mirai
2.15.0-RC
common
jvmBase
mirai-core-api
/
net.mamoe.mirai.utils
/
DeviceInfo
/
Companion
/
random
random
common
jvmBase
@
JvmStatic
expect
fun
random
(
)
:
DeviceInfo
生成随机
DeviceInfo
Since
2.0
See also
Device
Info
Builder
@
JvmStatic
expect
fun
random
(
random
:
Random
)
:
DeviceInfo
使用特定随机数生成器生成
DeviceInfo
Since
2.9
See also
Device
Info
Builder
actual
fun
random
(
)
:
DeviceInfo
生成随机
DeviceInfo
Since
2.0
See also
Device
Info
Builder
actual
fun
random
(
random
:
Random
)
:
DeviceInfo
使用特定随机数生成器生成
DeviceInfo
Since
2.9
See also
Device
Info
Builder