Commit 9db853e6 authored by Him188's avatar Him188

Introduce the proposal of implementing Map<UInt, Member> for Group

parent 8b96c072
......@@ -16,7 +16,7 @@ import net.mamoe.mirai.utils.internal.coerceAtLeastOrFail
* - Group ID([Group.internalId]) 是与调用 API 时使用的 id.(在 QQ 客户端中不可见)
* @author Him188moe
*/
interface Group : Contact, Iterable<Member> {
interface Group : Contact, Iterable<Member>/*, Map<UInt, Member>*/ { // TODO: 2019/12/4 在 inline 稳定后实现 Map<UInt, Member>. 目前这样做会导致问题
/**
* 内部 ID. 内部 ID 为 [GroupId] 的映射
*/
......
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