Skip to content

Commit 5f51109

Browse files
Him188StageGuard
authored and
StageGuard
committed
[core] 更新 MiraiProtocol 注释, 注明 ANDROID_WATCH 不支持戳一戳, 删除 ANDROID_PAD 的错误注释 (mamoe#2572)
1 parent f275cc3 commit 5f51109

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

mirai-core-api/src/commonMain/kotlin/utils/BotConfiguration.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019-2022 Mamoe Technologies and contributors.
2+
* Copyright 2019-2023 Mamoe Technologies and contributors.
33
*
44
* 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
55
* Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
@@ -221,13 +221,13 @@ public expect open class BotConfiguration() { // open for Java
221221

222222
/**
223223
* Android 平板.
224-
*
225-
* 注意: 不支持戳一戳事件解析
226224
*/
227225
ANDROID_PAD,
228226

229227
/**
230228
* Android 手表.
229+
*
230+
* 注意: 不支持戳一戳事件解析
231231
*/
232232
ANDROID_WATCH,
233233

mirai-core-api/src/jvmBaseMain/kotlin/utils/BotConfiguration.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019-2022 Mamoe Technologies and contributors.
2+
* Copyright 2019-2023 Mamoe Technologies and contributors.
33
*
44
* 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
55
* Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
@@ -232,13 +232,13 @@ public actual open class BotConfiguration { // open for Java
232232

233233
/**
234234
* Android 平板.
235-
*
236-
* 注意: 不支持戳一戳事件解析
237235
*/
238236
ANDROID_PAD,
239237

240238
/**
241239
* Android 手表.
240+
*
241+
* 注意: 不支持戳一戳事件解析
242242
*/
243243
ANDROID_WATCH,
244244

mirai-core-api/src/nativeMain/kotlin/utils/BotConfiguration.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019-2022 Mamoe Technologies and contributors.
2+
* Copyright 2019-2023 Mamoe Technologies and contributors.
33
*
44
* 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
55
* Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
@@ -225,13 +225,13 @@ public actual open class BotConfiguration { // open for Java
225225

226226
/**
227227
* Android 平板.
228-
*
229-
* 注意: 不支持戳一戳事件解析
230228
*/
231229
ANDROID_PAD,
232230

233231
/**
234232
* Android 手表.
233+
*
234+
* 注意: 不支持戳一戳事件解析
235235
*/
236236
ANDROID_WATCH,
237237

0 commit comments

Comments
 (0)