SimbotRandom

data class SimbotRandom @JvmOverloads constructor(val seed: Long = DEFAULT_SIMBOT_MIRAI_DEVICE_INFO_SEED) : DeviceInfoConfiguration(source)

使用simbot通过的基础设备模板进行一定范围内的伪随机。

{
"deviceInfo": {
"type": "simbot_random",
"seed": 114
}
}

See also

Constructors

Link copied to clipboard
fun SimbotRandom(seed: Long = DEFAULT_SIMBOT_MIRAI_DEVICE_INFO_SEED)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open operator override fun invoke(bot: Bot): DeviceInfo
Link copied to clipboard
protected fun String.replaceCodeMark(code: String): String

Properties

Link copied to clipboard
val seed: Long