Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
b10d339a
Commit
b10d339a
authored
Jun 16, 2020
by
Him188
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing `@MiraiExperimentalAPI`
parent
877a8efe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/contact/Group.kt
...re/src/commonMain/kotlin/net.mamoe.mirai/contact/Group.kt
+5
-0
No files found.
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/contact/Group.kt
View file @
b10d339a
...
...
@@ -179,6 +179,7 @@ abstract class Group : Contact(), CoroutineScope {
* 使用 groupCode 计算 groupUin. 这两个值仅在 mirai 内部协议区分, 一般人使用时无需在意.
* @suppress internal api
*/
@MiraiExperimentalAPI
@JvmStatic
fun
calculateGroupUinByGroupCode
(
groupCode
:
Long
):
Long
=
CommonGroupCalculations
.
calculateGroupUinByGroupCode
(
groupCode
)
...
...
@@ -187,6 +188,7 @@ abstract class Group : Contact(), CoroutineScope {
* 使用 groupUin 计算 groupCode. 这两个值仅在 mirai 内部协议区分, 一般人使用时无需在意.
* @suppress internal api
*/
@MiraiExperimentalAPI
@JvmStatic
fun
calculateGroupCodeByGroupUin
(
groupUin
:
Long
):
Long
=
CommonGroupCalculations
.
calculateGroupCodeByGroupUin
(
groupUin
)
...
...
@@ -235,6 +237,8 @@ interface GroupSettings {
* @see GroupAllowConfessTalkEvent
* @throws PermissionDeniedException 无权限修改时将会抛出异常
*/
@PlannedRemoval
(
"1.3.0"
)
@Deprecated
(
"mirai 将不再支持此用例较少的设置"
,
level
=
DeprecationLevel
.
WARNING
)
var
isConfessTalkEnabled
:
Boolean
/**
...
...
@@ -250,6 +254,7 @@ interface GroupSettings {
/**
* 自动加群审批
*/
@MiraiExperimentalAPI
val
isAutoApproveEnabled
:
Boolean
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment