mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-20 15:49:15 +08:00
a63af80668
Introduce `Friend` extending `User` Introduce `User` acting as the superclass of `Friend` and `Member` Add extensions `Member.asFriend`, etc. Remove specialized `Contact.hashCode` and `Contact.equals`, inherit from `kotlin.Any` Specify `toString` behavior in abstract `Contact` classes, instead of in implementation classes. Add virtual member `Contact.sendMessage(String)` Migrate the project from using `QQ` to `Friend` Remove multiplatform Contact class structure, keep them common. Remove extension `Long.at` in `GroupMessage`, `QQ.at` in `ContactMessage`. Add `At.asMember()` in `GroupMessage`. Make `calculateGroupUinByGroupCode`, `calculateGroupCodeByGroupUin` static on JVM. |
||
---|---|---|
.. | ||
src | ||
build.gradle.kts | ||
README.md |
mirai-core
Mirai 的核心部分. 含核心框架和协议.
Mirai 为多协议设计, mirai-core
只提供基础框架和抽象数据类. 具体的各协议实现为 mirai-core-PROTOCOL
.
这些模块都继承自 mirai-core
.
每个模块均有相较于 mirai-core
额外提供的内容的介绍.