mirai/mirai-core/src
Eritque arcus 3ff2737b3c
Add fallback solution for Services (#2511)
* add fallback solution for Services

* use castUp

* throw exception when prop doesn't match

* cannot use castUp

* improve codes

* improve name of functions

* add both

* add override

* solve conflicts

* [core] Move MiraiCoreServices to common

* [core] Improvement

* update var names

* update func names

---------

Co-authored-by: Karlatemp <kar@kasukusakura.com>
2023-03-11 18:12:56 +08:00
..
androidMain/kotlin [core] enhance(ECDH): reconstruct ECDH (#2161) 2022-09-11 20:14:39 +08:00
androidTest/kotlin [core] enhance(ECDH): reconstruct ECDH (#2161) 2022-09-11 20:14:39 +08:00
commonMain Add fallback solution for Services (#2511) 2023-03-11 18:12:56 +08:00
commonTest [core] Fix polymorphic serialization 2023-02-20 22:09:39 +08:00
darwinMain/kotlin Upgrade to Ktor 2.0.2, use CIO engine for linux targets; Remove ktor-client-okhttp from mirai-core-api jvmBaseMain 2022-07-20 00:30:16 +08:00
darwinTest/kotlin Implement mirai-core for native 2022-07-20 00:30:16 +08:00
jvmBaseMain/kotlin Add fallback solution for Services (#2511) 2023-03-11 18:12:56 +08:00
jvmBaseTest [core] Review atomic calls and enable atomicfu compiler. Close #2315 2022-10-29 13:04:37 +01:00
jvmMain/kotlin [core] enhance(ECDH): reconstruct ECDH (#2161) 2022-09-11 20:14:39 +08:00
jvmTest [core/debug] Add utils for debug running; Update docs for launch debug run 2022-11-14 00:33:07 +08:00
linuxX64Main/kotlin Upgrade to Ktor 2.0.2, use CIO engine for linux targets; Remove ktor-client-okhttp from mirai-core-api jvmBaseMain 2022-07-20 00:30:16 +08:00
linuxX64Test/kotlin Implement mirai-core for native 2022-07-20 00:30:16 +08:00
main Rearrange protocol implementations 2020-11-01 15:07:32 +08:00
mingwX64Main fix: platform socket on Windows (#2121) 2022-07-20 00:30:16 +08:00
nativeMain Add fallback solution for Services (#2511) 2023-03-11 18:12:56 +08:00
nativeTest [core] Fix up previous commit 81a09549e7 2022-10-29 11:56:08 +01:00
unixMain [core] Add net.mamoe.mirai.utils.Closeable for MPP use 2022-09-23 21:38:06 +08:00