mirai/mirai-core
Him188 a63af80668 Deprecate QQ
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.
2020-04-22 16:08:04 +08:00
..
src Deprecate QQ 2020-04-22 16:08:04 +08:00
build.gradle.kts Inherit kotlinx-coroutines dependency from ktor 2020-04-16 10:39:27 +08:00
README.md Add README.md for mirai-core 2019-12-23 22:01:06 +08:00

mirai-core

Mirai 的核心部分. 含核心框架和协议.

Mirai 为多协议设计, mirai-core 只提供基础框架和抽象数据类. 具体的各协议实现为 mirai-core-PROTOCOL. 这些模块都继承自 mirai-core.

每个模块均有相较于 mirai-core 额外提供的内容的介绍.