Commit 46af55fc authored by Him188's avatar Him188

Add `@SinceMirai` for MiraiProtocol

parent 486a0dc5
......@@ -52,26 +52,24 @@ expect open class BotConfiguration() : BotConfigurationBase {
@ConfigurationDsl
fun randomDeviceInfo()
/**
* 协议类型, 服务器仅允许使用不同协议同时登录.
*/
enum class MiraiProtocol {
/**
* Android 手机.
*
* - 与手机冲突
* - 与平板和电脑不冲突
*/
ANDROID_PHONE,
/**
* Android 平板.
*
* - 与平板冲突
* - 与手机和电脑不冲突
*/
ANDROID_PAD,
/**
* Android 手表.
* */
@SinceMirai("1.1.0")
ANDROID_WATCH;
......
......@@ -134,23 +134,18 @@ actual open class BotConfiguration : BotConfigurationBase() { // open for Java
) {
/**
* Android 手机.
*
* - 与手机冲突
* - 与平板和电脑不冲突
*/
ANDROID_PHONE(537062845),
/**
* Android 平板.
*
* - 与平板冲突
* - 与手机和电脑不冲突
*/
ANDROID_PAD(537062409),
/**
* Android 手表.
* */
@SinceMirai("1.1.0")
ANDROID_WATCH(537061176)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment